summaryrefslogtreecommitdiff
path: root/cgcode.c
diff options
context:
space:
mode:
authorJohn van Groningen2006-05-01 14:17:26 +0000
committerJohn van Groningen2006-05-01 14:17:26 +0000
commitb2d4c9be8fd379aa56d8bc392f94b3fb0dc055ef (patch)
tree42f1f2423ebdad6d00aaa85b462a045002f81a43 /cgcode.c
parentenable NO_STRING_ADDRESS_IN_DESCRIPTOR for sparc (diff)
use int_64 instead of __int64, define int_64, include stdint.h on 64 bits linux
Diffstat (limited to 'cgcode.c')
-rw-r--r--cgcode.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/cgcode.c b/cgcode.c
index e1d36d3..f43c51d 100644
--- a/cgcode.c
+++ b/cgcode.c
@@ -6,6 +6,9 @@
#include <stdio.h>
#include <string.h>
+#if defined (LINUX) && defined (G_AI64)
+# include <stdint.h>
+#endif
#if defined (G_POWER) || defined (I486) || defined (sparc)
# define NO_STRING_ADDRESS_IN_DESCRIPTOR
@@ -7913,7 +7916,7 @@ void code_caf (char *label_name,int a_stack_size,int b_stack_size)
#endif
if (assembly_flag)
#ifdef G_A64
- w_as_word64_in_data_section ((__int64)0);
+ w_as_word64_in_data_section ((int_64)0);
#else
w_as_long_in_data_section (0);
#endif
@@ -7947,7 +7950,7 @@ void code_caf (char *label_name,int a_stack_size,int b_stack_size)
#endif
if (assembly_flag)
#ifdef G_A64
- w_as_word64_in_data_section ((__int64)0);
+ w_as_word64_in_data_section ((int_64)0);
#else
w_as_long_in_data_section (0);
#endif
@@ -8860,7 +8863,7 @@ void code_pb (char string[],int string_length)
w_as_define_data_label (profile_function_label->label_number);
# endif
# ifdef G_A64
- w_as_word64_in_data_section ((__int64)0);
+ w_as_word64_in_data_section ((int_64)0);
# else
w_as_long_in_data_section (0);
# endif