change way of defining WCONST so internal workings aren't as visible in the public API

This commit is contained in:
Ryan Pavlik
2011-04-28 10:23:16 -05:00
parent f853261785
commit 3c8a0d715a
2 changed files with 2 additions and 3 deletions

View File

@@ -86,4 +86,5 @@ extern FILE* logtarget[];
#define absf(x) ((x >= 0) ? (x) : (x * -1.0f))
#define diff_f(x, y) ((x >= y) ? (absf(x - y)) : (absf(y - x)))
#define WCONST
#endif // DEFINITIONS_H_INCLUDED

View File

@@ -70,9 +70,7 @@
#include <bluetooth/bluetooth.h>
#endif
#ifdef WIIUSE_INTERNAL_H_INCLUDED
#define WCONST
#else
#ifndef WCONST
#define WCONST const
#endif