diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h index b74f8bc5e7..29cde21324 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h @@ -20,9 +20,13 @@ extern char* OS_nativeFunctionNames[]; #define OS_NATIVE_ENTER(env, that, func) OS_nativeFunctionCallCount[func]++; #define OS_NATIVE_EXIT(env, that, func) #else +#ifndef OS_NATIVE_ENTER #define OS_NATIVE_ENTER(env, that, func) +#endif +#ifndef OS_NATIVE_EXIT #define OS_NATIVE_EXIT(env, that, func) #endif +#endif typedef enum { Call_FUNC, |