Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2001-10-18 20:07:17 +0000
committerSilenio Quarti2001-10-18 20:07:17 +0000
commit11b297798b58d19f3b2ebfc0a0a465f39c009562 (patch)
tree2d7ed876385d0c90f41176f672bae7a76b656fa3
parentd6e4c2c1832abc63d211cfcb3c11b9ef95ae26b9 (diff)
downloadeclipse.platform.swt-11b297798b58d19f3b2ebfc0a0a465f39c009562.tar.gz
eclipse.platform.swt-11b297798b58d19f3b2ebfc0a0a465f39c009562.tar.xz
eclipse.platform.swt-11b297798b58d19f3b2ebfc0a0a465f39c009562.zip
step 4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/library/globals.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/library/globals.h b/bundles/org.eclipse.swt/Eclipse SWT/common/library/globals.h
index dd6ccb871a..93ca98d3be 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/library/globals.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/library/globals.h
@@ -23,7 +23,13 @@
/*#define DEBUG_PRINTF(x) printf x; */
/* define this to print out debug statements */
-/* #define DEBUG_CALL_PRINTS */
+/* #define DEBUG_CALL_PRINTS */
+
+#ifdef DEBUG_CALL_PRINTS
+#define DEBUG_CALL(func) fprintf(stderr, func);
+#else
+#define DEBUG_CALL(func)
+#endif
/* Define the current lib ID. */
/* A unique constant is required for each lib.*/

Back to the top