--- smlsharp-0.20/src/runtime/runtime-impl/main/FFI_default.cc.gcc41	2007-04-12 16:43:41.000000000 +0900
+++ smlsharp-0.20/src/runtime/runtime-impl/main/FFI_default.cc	2007-04-14 01:57:14.000000000 +0900
@@ -76,17 +76,18 @@
 };
 
 /* CAUTION: This might work if you are lucky ;p */
-#define CALLBACKENTRYDECL(n)                                            \
-UInt32Value FFIDefault::callbackEntry ## n(UInt32Value x0,              \
-                                           UInt32Value x1,              \
-                                           UInt32Value x2,              \
-                                           UInt32Value x3,              \
-                                           UInt32Value x4,              \
-                                           UInt32Value x5,              \
-                                           UInt32Value x6,              \
-                                           UInt32Value x7,              \
-                                           UInt32Value x8,              \
-                                           UInt32Value x9)
+#define _CALLBACKENTRYDECL(n)                   \
+callbackEntry ## n(UInt32Value x0,              \
+                   UInt32Value x1,              \
+                   UInt32Value x2,              \
+                   UInt32Value x3,              \
+                   UInt32Value x4,              \
+                   UInt32Value x5,              \
+                   UInt32Value x6,              \
+                   UInt32Value x7,              \
+                   UInt32Value x8,              \
+                   UInt32Value x9)
+#define CALLBACKENTRYDECL(n) UInt32Value _CALLBACKENTRYDECL(n)
 #define CALLBACK_MAX_ARGS 10
 
 class DefaultArguments
@@ -271,7 +272,7 @@
 
 /* CAUTION: This might work if you are lucky ;p */
 #define CALLBACKENTRY(n)                                                \
-CALLBACKENTRYDECL(n)                                                    \
+UInt32Value FFIDefault::_CALLBACKENTRYDECL(n)                           \
 {                                                                       \
     Cell ret[2];                                                        \
     CallbackInfo &callback = callbackEntries[n-1];                      \
