SIZE_MAX need not be defined in limits.h

it can be in limits.h (windows) or stdint.h.
This commit is contained in:
Ozkan Sezer
2020-11-11 12:33:55 +03:00
parent e12457d8bf
commit 53b166797d
2 changed files with 5 additions and 7 deletions

View File

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