Skip to content

Commit

Permalink
Move block of code to better position
Browse files Browse the repository at this point in the history
Dovyski committed Dec 1, 2017
1 parent ea6ce8d commit d53495a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cvui.h
Original file line number Diff line number Diff line change
@@ -997,13 +997,6 @@ void handleMouse(int theEvent, int theX, int theY, int theFlags, void* theData);
#define sprintf_s sprintf
#endif

// Check for Unix stuff
#ifdef __GNUC__
// just to remove the warning under gcc that is introduced by the VERSION variable below
// (needed for those who compile with -Werror (make warning as errors)
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif

// Define a few platform-dependent macros
#ifdef _MSC_VER
#define _CVUI_COMPILE_MESSAGE(x) message(x)
@@ -1031,6 +1024,13 @@ void handleMouse(int theEvent, int theX, int theY, int theFlags, void* theData);
#undef MIDDLE_BUTTON
#undef RIGHT_BUTTON

// Check for Unix stuff
#ifdef __GNUC__
// just to remove the warning under gcc that is introduced by the VERSION variable below
// (needed for those who compile with -Werror (make warning as errors)
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif

// Lib version
static const char *VERSION = "2.5.0-BETA";

0 comments on commit d53495a

Please sign in to comment.