summaryrefslogtreecommitdiff
path: root/gcc/config/i386/crtdll.h
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1998-09-05 12:28:53 +0000
committerJeff Law <law@gcc.gnu.org>1998-09-05 06:28:53 -0600
commit3fafc2f66579e8baac5d27dd66e3813e05c0c0b6 (patch)
tree30f26be1a4a038e933aad5ae877309d4d30fc4a1 /gcc/config/i386/crtdll.h
parent7539f38d4707058b4a3e543b7edf7c1c702cb93d (diff)
downloadgcc-3fafc2f66579e8baac5d27dd66e3813e05c0c0b6.tar.gz
cygwin32.h (BIGGEST_ALIGNMENT): Define.
* i386/cygwin32.h (BIGGEST_ALIGNMENT): Define. (PCC_BITFIELD_TYPE_MATTERS): Define to be 0. * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't check for for exact section attributions. * i386/mingw32.h (CPP_PREDEFINES): Add __MSVCRT__ for msvc runtime. * i386/crtdll.h (CPP_PREDEFINES): Define. From-SVN: r22261
Diffstat (limited to 'gcc/config/i386/crtdll.h')
-rw-r--r--gcc/config/i386/crtdll.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/i386/crtdll.h b/gcc/config/i386/crtdll.h
index c6b219ae020..9a6d9a176a9 100644
--- a/gcc/config/i386/crtdll.h
+++ b/gcc/config/i386/crtdll.h
@@ -22,6 +22,15 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Di386 -D_WIN32 -DWIN32 -D__WIN32__ \
+ -D__MINGW32__ -DWINNT -D_X86_=1 -D__STDC__=1\
+ -D__stdcall=__attribute__((__stdcall__)) \
+ _D_stdcall=__attribute__((__stdcall__)) \
+ -D__cdecl=__attribute__((__cdecl__)) \
+ -D__declspec(x)=__attribute__((x)) \
+ -Asystem(winnt) -Acpu(i386) -Amachine(i386)"
+
#undef LIBGCC_SPEC
#define LIBGCC_SPEC "-lmingw32 -lgcc -lmoldname -lcrtdll"