File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 15
15
// #endif
16
16
// GPAFuncTableInfo* g_pFuncTableInfo = NULL;
17
17
18
+ // In order to use this header file with a debug build of GPA
19
+ // the "USE_DEBUG_GPA" preprocessor macro should be defined before
20
+ // including this header file
21
+
22
+ // In order to use this header file with an internal build of GPA
23
+ // the "USE_INTERNAL_GPA" preprocessor macro should be defined before
24
+ // including this header file
25
+
18
26
#ifndef _GPA_INTERFACE_LOADER_H_
19
27
#define _GPA_INTERFACE_LOADER_H_
20
28
93
101
#define GPA_X86_ARCH_SUFFIX TFORMAT (" 32" ) // /< Macro for 32-bit lib file architecture suffix
94
102
#endif
95
103
96
- #ifdef _DEBUG
97
- #define GPA_DEBUG_SUFFIX TFORMAT (" -d" ) // /< Macro for debug suffix
98
- #else
99
- #define GPA_DEBUG_SUFFIX TFORMAT (" " ) // /< Macro for release suffix
100
- #endif
101
-
104
+ #define GPA_DEBUG_SUFFIX TFORMAT (" -d" ) // /< Macro for debug suffix
102
105
#define GPA_INTERNAL_SUFFIX TFORMAT (" -Internal" ) // /< Macro for internal build lib file suffix
103
106
104
107
#define ARRAY_LENGTH (x ) (sizeof (x)/sizeof (x[0 ])) // /< Macro to calculate array length
@@ -229,7 +232,9 @@ static const LocaleChar* GPAIL_GetLibraryFileName(GPA_API_Type pApiType)
229
232
STR_CAT (filenameStaticString, ARRAY_LENGTH (filenameStaticString), GPA_X86_ARCH_SUFFIX);
230
233
#endif
231
234
235
+ #ifdef USE_DEBUG_GPA
232
236
STR_CAT (filenameStaticString, ARRAY_LENGTH (filenameStaticString), GPA_DEBUG_SUFFIX);
237
+ #endif
233
238
234
239
#ifdef USE_INTERNAL_GPA
235
240
STR_CAT (filenameStaticString, ARRAY_LENGTH (filenameStaticString), GPA_INTERNAL_SUFFIX);
You can’t perform that action at this time.
0 commit comments