diff mc-code-ia32.c @ 608:c3ba27861c83

fix struct alignment in local init.
author kono
date Sat, 18 Feb 2006 21:33:43 +0900
parents e055df7c1082
children 2dee957ef988
line wrap: on
line diff
--- a/mc-code-ia32.c	Mon Feb 06 16:01:32 2006 +0900
+++ b/mc-code-ia32.c	Sat Feb 18 21:33:43 2006 +0900
@@ -1,6 +1,6 @@
 /* Micro-C Code Generation Part for intel386 */
-/*
-************************************************************************
+
+/************************************************************************
 ** Copyright (C) 2006 Shinji Kono
 ** 連絡先: 琉球大学情報工学科 河野 真治  
 ** (E-Mail Address: kono@ie.u-ryukyu.ac.jp)
@@ -20,7 +20,7 @@
 **    You don't have to ask before copying, redistribution or publishing.
 **    THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE.
 ***********************************************************************/
- */
+
 
 
 #include <stdio.h>
@@ -32,8 +32,10 @@
 #if defined(__GNUC__) && __GNUC__ >= 4
 
 char *l_include_path[] = {
+    "/usr/include/linux/",
     "/usr/local/include",
     "/usr/lib/gcc/i486-linux-gnu/4.0.3/include",
+    "/usr/lib/gcc/i386-redhat-linux/4.0.2/include/",
     "/usr/include/",
     0
 };
@@ -127,6 +129,7 @@
 #define __PTRDIFF_TYPE__ int\n\
 #define __LDBL_MIN_10_EXP__ (-4931)\n\
 #define __LDBL_DIG__ 18\n\
+#define size_t int\n\
 ";
 
 #else