ecere: Fixed warnings in static builds resulting from compiler fixes
authorJerome St-Louis <jerome@ecere.com>
Mon, 17 Sep 2012 04:38:32 +0000 (00:38 -0400)
committerJerome St-Louis <jerome@ecere.com>
Mon, 17 Sep 2012 04:38:32 +0000 (00:38 -0400)
ecere/src/com/dataTypes.ec

index 963d6c9..a3b336a 100644 (file)
@@ -76,7 +76,11 @@ extern int __ecereVMethodID_class_OnUnserialize;
 extern int __ecereVMethodID_class_OnCopy;
 public:
 
-// TOFIX: Declaration ordering
+#if defined(ECERE_BOOTSTRAP) || defined(ECERE_STATIC)
+#define dllexport
+#endif
+
+// TOFIX: Declaration ordering (Required on gcc 3.4.5)
 dllexport void eSystem_Delete(void * memory);
 
 public class IOChannel