mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
cJSON_Utils: Guard gcc pragmas with a check for __GCC__
This commit is contained in:
parent
e872d40223
commit
217ab02612
@ -24,13 +24,18 @@
|
||||
#if !defined(_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
#ifdef __GNUCC__
|
||||
#pragma GCC visibility push(default)
|
||||
#endif
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <limits.h>
|
||||
#ifdef __GNUCC__
|
||||
#pragma GCC visibility pop
|
||||
#endif
|
||||
|
||||
#include "cJSON_Utils.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user