define UNUSED() locally for mmap_win

This commit is contained in:
Campbell Barton 2010-11-24 20:56:25 +00:00
parent c5f7207948
commit 77e3d5dfb4

@ -42,6 +42,13 @@
#define FILE_MAP_EXECUTE 0x0020
#endif
/* copied from BKE_utildefines.h ugh */
#ifdef __GNUC__
# define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
#else
# define UNUSED(x) x
#endif
/* --------------------------------------------------------------------- */
/* local storage definitions */
/* --------------------------------------------------------------------- */