diff options
Diffstat (limited to 'ndb/include/ndb_global.h')
-rw-r--r-- | ndb/include/ndb_global.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ndb/include/ndb_global.h b/ndb/include/ndb_global.h index 5e03b972268..f871acbc075 100644 --- a/ndb/include/ndb_global.h +++ b/ndb/include/ndb_global.h @@ -25,7 +25,13 @@ #endif #include <sys/param.h> #ifdef HAVE_SYS_STAT_H -#include <sys/stat.h> + #if defined(__cplusplus) && defined(_APP32_64BIT_OFF_T) && defined(_INCLUDE_AES_SOURCE) + #undef _INCLUDE_AES_SOURCE + #include <sys/stat.h> + #define _INCLUDE_AES_SOURCE + #else + #include <sys/stat.h> + #endif #endif #include <sys/resource.h> #ifdef HAVE_SYS_WAIT_H @@ -49,6 +55,8 @@ #endif +static const char table_name_separator = '/'; + #ifdef NDB_VC98 #define STATIC_CONST(x) enum { x } #else |