Files built for Win32 must use C89 style declarations for compatibility with VS 2010 and 2012, which are still supported by GLFW.
@@ -23,6 +23,8 @@
// distribution.
//
//========================================================================
+// It is fine to use C99 in this file because it will not be built with VS
+//========================================================================
#include "internal.h"
#include <sys/param.h> // For MAXPATHLEN
@@ -24,6 +24,8 @@
+// Please use C89 style variable declarations in this file because VS 2010
#include "mappings.h"
#include <stdlib.h>
#include <string.h>
@@ -25,6 +25,8 @@
#define _GNU_SOURCE