Review RLAPI to avoid warnings
This commit is contained in:
parent
f8719e7ec3
commit
a91f61262e
1 changed files with 5 additions and 5 deletions
10
src/rlgl.h
10
src/rlgl.h
|
@ -105,11 +105,6 @@
|
||||||
|
|
||||||
#define RLGL_VERSION "4.0"
|
#define RLGL_VERSION "4.0"
|
||||||
|
|
||||||
// Function specifiers definition
|
|
||||||
#ifndef RLAPI
|
|
||||||
#define RLAPI // Functions defined as 'extern' by default (implicit specifiers)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Function specifiers in case library is build/used as a shared library (Windows)
|
// Function specifiers in case library is build/used as a shared library (Windows)
|
||||||
// NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll
|
// NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
@ -120,6 +115,11 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Function specifiers definition
|
||||||
|
#ifndef RLAPI
|
||||||
|
#define RLAPI // Functions defined as 'extern' by default (implicit specifiers)
|
||||||
|
#endif
|
||||||
|
|
||||||
// Support TRACELOG macros
|
// Support TRACELOG macros
|
||||||
#ifndef TRACELOG
|
#ifndef TRACELOG
|
||||||
#define TRACELOG(level, ...) (void)0
|
#define TRACELOG(level, ...) (void)0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue