]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
include
[wxWidgets.git] / src / common / filefn.cpp
index f8f4989918d309d5b119766594996ab6364fa856..9a0a061a8f944243bcd71b102c60ae72b9871ede 100644 (file)
 // constants
 // ----------------------------------------------------------------------------
 
-#if defined(__VISAGECPP__) && __IBMCPP__ >= 400
-const off_t wxInvalidOffset = (off_t)-1;
-#endif
-
 #define _MAXPATHLEN 500
 
 extern wxChar *wxBuffer;
@@ -134,6 +130,14 @@ extern wxChar *wxBuffer;
 
 static wxChar wxFileFunctionsBuffer[4*_MAXPATHLEN];
 
+#if defined(__VISAGECPP__) && __IBMCPP__ >= 400
+//
+// VisualAge C++ V4.0 cannot have any external linkage const decs 
+// in headers included by more than one primary source
+//
+const off_t wxInvalidOffset = (off_t)-1;
+#endif
+
 // ============================================================================
 // implementation
 // ============================================================================