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 diff_f(x, y) ((x >= y) ? (absf(x - y)) : (absf(y - x)))
|
||||
|
||||
#define WCONST
|
||||
#endif // DEFINITIONS_H_INCLUDED
|
||||
|
||||
@@ -70,9 +70,7 @@
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIIUSE_INTERNAL_H_INCLUDED
|
||||
#define WCONST
|
||||
#else
|
||||
#ifndef WCONST
|
||||
#define WCONST const
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user