change way of defining WCONST so internal workings aren't as visible in the public API
This commit is contained in:
@@ -86,4 +86,5 @@ extern FILE* logtarget[];
|
|||||||
#define absf(x) ((x >= 0) ? (x) : (x * -1.0f))
|
#define absf(x) ((x >= 0) ? (x) : (x * -1.0f))
|
||||||
#define diff_f(x, y) ((x >= y) ? (absf(x - y)) : (absf(y - x)))
|
#define diff_f(x, y) ((x >= y) ? (absf(x - y)) : (absf(y - x)))
|
||||||
|
|
||||||
|
#define WCONST
|
||||||
#endif // DEFINITIONS_H_INCLUDED
|
#endif // DEFINITIONS_H_INCLUDED
|
||||||
|
|||||||
@@ -70,9 +70,7 @@
|
|||||||
#include <bluetooth/bluetooth.h>
|
#include <bluetooth/bluetooth.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WIIUSE_INTERNAL_H_INCLUDED
|
#ifndef WCONST
|
||||||
#define WCONST
|
|
||||||
#else
|
|
||||||
#define WCONST const
|
#define WCONST const
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user