Skip to content

Commit

Permalink
fix using c-api / compile with gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Sep 28, 2018
1 parent a0564fd commit bf6d929
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ccutil/platform.h
Expand Up @@ -38,7 +38,11 @@
#endif
#endif /* defined(_MSC_VER) */
#else
#ifdef __cplusplus
#include <climits>
#else /* C compiler*/
#include <limits.h>
#endif /* __cplusplus */
#ifndef PATH_MAX
#define MAX_PATH 4096
#else
Expand Down

0 comments on commit bf6d929

Please sign in to comment.