ExternalLibraryFunction.st
branchjv
changeset 19949 ac5e8567d070
parent 19948 be658f466bca
child 19967 9b1443c2aab1
--- a/ExternalLibraryFunction.st	Mon Jun 06 10:56:12 2016 +0100
+++ b/ExternalLibraryFunction.st	Mon Jun 06 12:06:31 2016 +0100
@@ -89,9 +89,9 @@
 # define TYPE_SINT64    __get_ffi_type_sint64()
 
 # define TYPE_POINTER   __get_ffi_type_pointer()
-# define TYPE_FLOAT     __get_ffi_type_float();
-# define TYPE_DOUBLE    __get_ffi_type_double();
-# define TYPE_VOID      __get_ffi_type_void();
+# define TYPE_FLOAT     __get_ffi_type_float()
+# define TYPE_DOUBLE    __get_ffi_type_double()
+# define TYPE_VOID      __get_ffi_type_void()
 
 #else /* NO FFI */
 
@@ -1087,9 +1087,9 @@
     int *__argTypes = __argTypesIncludingThis;
     int __returnType = 0;
     int thisType;
-    int __callType = FFI_DEFAULT_ABI;
+    int __callType = FFI_DEFAULT_ABI;    
+#endif
     int __anyFloatOrDoubleArg = 0;
-#endif
 
     union u {
 	INT iVal;