Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rishel <rishel.nick@gmail.com>2021-06-23 03:30:10 +0300
committerNicholas Rishel <rishel.nick@gmail.com>2021-06-23 03:47:22 +0300
commit98f309095200f7b493244156c41cad215e5ea56f (patch)
treead7563617a172e66d69288780d4233da5ff7d8d9 /intern/ghost/intern/GHOST_Debug.h
parenta8f37763ca554a122c1441eae7a43f01bc2f5ddc (diff)
Add debugging info for Wintab.wintab-logging
Diffstat (limited to 'intern/ghost/intern/GHOST_Debug.h')
-rw-r--r--intern/ghost/intern/GHOST_Debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_Debug.h b/intern/ghost/intern/GHOST_Debug.h
index 13858410c5a..e171e4c6485 100644
--- a/intern/ghost/intern/GHOST_Debug.h
+++ b/intern/ghost/intern/GHOST_Debug.h
@@ -52,6 +52,13 @@
# define GHOST_PRINTF(x, ...)
#endif // WITH_GHOST_DEBUG
+#include <stdio.h> //for printf()
+#define WINTAB_PRINTF(x, ...) \
+ { \
+ printf(x, __VA_ARGS__); \
+ } \
+ (void)0
+
#ifdef WITH_ASSERT_ABORT
# include <stdio.h> //for fprintf()
# include <stdlib.h> //for abort()