mirror of
https://github.com/encounter/SDL.git
synced 2025-12-11 06:27:44 +00:00
SIZE_MAX need not be defined in limits.h
it can be in limits.h (windows) or stdint.h.
This commit is contained in:
@@ -24,11 +24,10 @@
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#else
|
||||
#endif
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ((size_t)-1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "../../core/windows/SDL_windows.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user