Skip to content

Commit

Permalink
build: gcc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed Dec 27, 2017
1 parent d81c226 commit e958328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/core/src/main/c/system/linux/LinuxConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#define DISABLE_WARNINGS() \
_Pragma("GCC diagnostic push")
_Pragma("GCC diagnostic ignored \"-Wunused-parameter\"")

#define ENABLE_WARNINGS() \
_Pragma("GCC diagnostic pop")
1 change: 1 addition & 0 deletions modules/core/src/main/c/util/tinyfd/tinyfiledialogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ misrepresented as being the original software.
#define SLASH "\\"
int tinyfd_winUtf8 = 0 ; /* on windows string char can be 0:MBCS or 1:UTF-8 */
#else
#include <signal.h>
#include <limits.h>
#include <unistd.h>
#include <dirent.h> /* on old systems try <sys/dir.h> instead */
Expand Down

0 comments on commit e958328

Please sign in to comment.