My Project
Loading...
Searching...
No Matches
globaldefs.h
Go to the documentation of this file.
1#ifndef _SINGULAR_GLOBALDEFS_H
2#define _SINGULAR_GLOBALDEFS_H
3
4#ifndef PSINGULAR
5#define VAR
6#define EXTERN_VAR extern
7#define STATIC_VAR static
8#define INST_VAR
9#define EXTERN_INST_VAR extern
10#define STATIC_INST_VAR static
11#define GLOBAL_VAR
12#define THREAD_VAR
13#else
14#define GLOBAL_VAR
15#define THREAD_VAR __thread
16#endif
17
18#if defined(__CYGWIN__) && defined(DLL_EXPORT)
19 #ifdef FACTORY_BUILDING_DLL
20 #define FACTORY_PUBLIC __declspec(dllexport)
21 #else
22 #define FACTORY_PUBLIC __declspec(dllimport)
23 #endif
24#else
25 #define FACTORY_PUBLIC
26#endif
27
28#endif // _SINGULAR_GLOBALDEFS_H