Browse Source

cJSON_Utils: Add gcc pragma to use default visibility for system headers

Max Bruckner 8 years ago
parent
commit
5f783fff11
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cJSON_Utils.c

+ 2 - 0
cJSON_Utils.c

@@ -1,8 +1,10 @@
+#pragma GCC visibility push(default)
 #include <ctype.h>
 #include <ctype.h>
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <limits.h>
 #include <limits.h>
+#pragma GCC visibility pop
 
 
 #include "cJSON_Utils.h"
 #include "cJSON_Utils.h"