Correctec condition
This commit is contained in:
parent
5bf9afa21b
commit
7c8b222760
2
raygui.h
2
raygui.h
@ -286,7 +286,7 @@ RAYGUIDEF int GetStyleProperty(int guiProperty); // Get
|
|||||||
// NOTE: Those functions are only used in SaveGuiStyle() and LoadGuiStyle()
|
// NOTE: Those functions are only used in SaveGuiStyle() and LoadGuiStyle()
|
||||||
|
|
||||||
// Check if custom malloc/free functions defined, if not, using standard ones
|
// Check if custom malloc/free functions defined, if not, using standard ones
|
||||||
#if !defined(RAYGUI_MALLOC) || !defined(RAYGUI_NO_STYLE_SAVE_LOAD)
|
#if !defined(RAYGUI_MALLOC) && !defined(RAYGUI_NO_STYLE_SAVE_LOAD)
|
||||||
#include <stdlib.h> // Required for: malloc(), free() [Used only on LoadGuiStyle()]
|
#include <stdlib.h> // Required for: malloc(), free() [Used only on LoadGuiStyle()]
|
||||||
|
|
||||||
#define RAYGUI_MALLOC(size) malloc(size)
|
#define RAYGUI_MALLOC(size) malloc(size)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user