diff options
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index c543e89f..2d16a851 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -171,3 +171,9 @@ typedef int pid_t; #endif #cmakedefine SIZEOF_TIME_T ${SIZEOF_TIME_T} + +#if !defined(_MSC_VER) +#define _unused(x) (void)x; +#else +#define _unused(x) +#endif |