Correctec condition

This commit is contained in:
raysan5 2016-06-24 18:55:41 +02:00
parent 5bf9afa21b
commit 7c8b222760

View File

@ -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)