Browse Source

Issue #351: don't redefine SIZE_T_MAX if it's already defined.

tags/json-c-0.13-20171207
Eric Haszlakiewicz 8 years ago
parent
commit
95dff31951
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      arraylist.c

+ 2
- 0
arraylist.c View File

@@ -22,6 +22,7 @@
# include <strings.h>
#endif /* HAVE_STRINGS_H */

#ifndef SIZE_T_MAX
#if SIZEOF_SIZE_T == SIZEOF_INT
#define SIZE_T_MAX UINT_MAX
#elif SIZEOF_SIZE_T == SIZEOF_LONG
@@ -31,6 +32,7 @@
#else
#error Unable to determine size of size_t
#endif
#endif

#include "arraylist.h"



Loading…
Cancel
Save