summaryrefslogtreecommitdiff
path: root/cgport.h
diff options
context:
space:
mode:
authorJohn van Groningen2003-10-03 14:14:40 +0000
committerJohn van Groningen2003-10-03 14:14:40 +0000
commit50bb33e83b394196fe428cb191a6dbbc0db91a6c (patch)
tree43ee42c41fdc448deb68c4e1150e6b5abd8169f0 /cgport.h
parentdefine function w_as_new_data_module if FUNCTION_LEVEL_LINKING macro is defined (diff)
move #define FUNCTION_LEVEL_LINKING from cgcode.h to cgport.h
Diffstat (limited to 'cgport.h')
-rw-r--r--cgport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgport.h b/cgport.h
index 7e40c47..61abeda 100644
--- a/cgport.h
+++ b/cgport.h
@@ -20,6 +20,10 @@
#define ALIGN_C_CALLS
#endif
+#if defined (G_POWER) || defined (_WINDOWS_) || defined (LINUX_ELF) || defined (sparc)
+# define FUNCTION_LEVEL_LINKING
+#endif
+
#ifdef THINK_C
# define ANSI_C
# define WORD int