diff --git a/glfw/cocoa_init.m b/glfw/cocoa_init.m index c6a05a08b..430eb9231 100644 --- a/glfw/cocoa_init.m +++ b/glfw/cocoa_init.m @@ -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 // For MAXPATHLEN diff --git a/glfw/cocoa_joystick.m b/glfw/cocoa_joystick.m index 282cdbebe..15a44dd39 100644 --- a/glfw/cocoa_joystick.m +++ b/glfw/cocoa_joystick.m @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/cocoa_monitor.m b/glfw/cocoa_monitor.m index 072eb9f41..99bad5602 100644 --- a/glfw/cocoa_monitor.m +++ b/glfw/cocoa_monitor.m @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/cocoa_time.c b/glfw/cocoa_time.c index 3b2703515..d390cdc16 100644 --- a/glfw/cocoa_time.c +++ b/glfw/cocoa_time.c @@ -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" diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index ddc52425c..52c21b97a 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -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" diff --git a/glfw/context.c b/glfw/context.c index bf8e2c956..c208abc1c 100644 --- a/glfw/context.c +++ b/glfw/context.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include "internal.h" diff --git a/glfw/egl_context.c b/glfw/egl_context.c index 911bc489b..64f8eed4a 100644 --- a/glfw/egl_context.c +++ b/glfw/egl_context.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include "internal.h" diff --git a/glfw/glx_context.c b/glfw/glx_context.c index b9f62c8b2..1ddda1cf6 100644 --- a/glfw/glx_context.c +++ b/glfw/glx_context.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/init.c b/glfw/init.c index cc7d0a288..65341b3d1 100644 --- a/glfw/init.c +++ b/glfw/init.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include "internal.h" #include "mappings.h" diff --git a/glfw/input.c b/glfw/input.c index 420293139..b18803eaa 100644 --- a/glfw/input.c +++ b/glfw/input.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include "internal.h" diff --git a/glfw/linux_joystick.c b/glfw/linux_joystick.c index 5443d0a3d..c1a1d00c8 100644 --- a/glfw/linux_joystick.c +++ b/glfw/linux_joystick.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/monitor.c b/glfw/monitor.c index 714d3361b..3a5f72fc4 100644 --- a/glfw/monitor.c +++ b/glfw/monitor.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include "internal.h" diff --git a/glfw/nsgl_context.m b/glfw/nsgl_context.m index 41a08011d..b2997e438 100644 --- a/glfw/nsgl_context.m +++ b/glfw/nsgl_context.m @@ -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" diff --git a/glfw/null_init.c b/glfw/null_init.c index f8d941414..fcdcd7ae3 100644 --- a/glfw/null_init.c +++ b/glfw/null_init.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/null_joystick.c b/glfw/null_joystick.c index 948e94933..c55d1f081 100644 --- a/glfw/null_joystick.c +++ b/glfw/null_joystick.c @@ -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" diff --git a/glfw/null_monitor.c b/glfw/null_monitor.c index 19b1a600c..b1e08b3fc 100644 --- a/glfw/null_monitor.c +++ b/glfw/null_monitor.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/null_window.c b/glfw/null_window.c index 8a40d2d8f..38d4c8446 100644 --- a/glfw/null_window.c +++ b/glfw/null_window.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/osmesa_context.c b/glfw/osmesa_context.c index 19c8b5fd0..50ddc192a 100644 --- a/glfw/osmesa_context.c +++ b/glfw/osmesa_context.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include #include diff --git a/glfw/posix_thread.c b/glfw/posix_thread.c index f935a9e13..9155b8690 100644 --- a/glfw/posix_thread.c +++ b/glfw/posix_thread.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/posix_time.c b/glfw/posix_time.c index e1d6f464d..15d0e1a3f 100644 --- a/glfw/posix_time.c +++ b/glfw/posix_time.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/vulkan.c b/glfw/vulkan.c index e8df3c5e7..55a635c12 100644 --- a/glfw/vulkan.c +++ b/glfw/vulkan.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include "internal.h" diff --git a/glfw/wgl_context.c b/glfw/wgl_context.c index 660a64ec1..53a390f88 100644 --- a/glfw/wgl_context.c +++ b/glfw/wgl_context.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include "internal.h" diff --git a/glfw/window.c b/glfw/window.c index 444f20985..08945f247 100644 --- a/glfw/window.c +++ b/glfw/window.c @@ -25,6 +25,8 @@ // distribution. // //======================================================================== +// Please use C89 style variable declarations in this file because VS 2010 +//======================================================================== #include "internal.h" diff --git a/glfw/wl_init.c b/glfw/wl_init.c index 767ade657..074a3c5b9 100644 --- a/glfw/wl_init.c +++ b/glfw/wl_init.c @@ -23,6 +23,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #define _GNU_SOURCE #include "internal.h" diff --git a/glfw/wl_monitor.c b/glfw/wl_monitor.c index 4f358c353..2c73d72e5 100644 --- a/glfw/wl_monitor.c +++ b/glfw/wl_monitor.c @@ -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" diff --git a/glfw/wl_window.c b/glfw/wl_window.c index 95bc6709f..005df3a1a 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -23,6 +23,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #define _GNU_SOURCE diff --git a/glfw/x11_init.c b/glfw/x11_init.c index 9bb80f31a..0572f793d 100644 --- a/glfw/x11_init.c +++ b/glfw/x11_init.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #define _GNU_SOURCE #include "internal.h" diff --git a/glfw/x11_monitor.c b/glfw/x11_monitor.c index 9939c8933..206b45d66 100644 --- a/glfw/x11_monitor.c +++ b/glfw/x11_monitor.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #include "internal.h" diff --git a/glfw/x11_window.c b/glfw/x11_window.c index 79cc7c0ee..9b46d95a1 100644 --- a/glfw/x11_window.c +++ b/glfw/x11_window.c @@ -24,6 +24,8 @@ // distribution. // //======================================================================== +// It is fine to use C99 in this file because it will not be built with VS +//======================================================================== #define _GNU_SOURCE #include "internal.h"