Fixed warnings on VC++.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent c5f7eff190
commit 7fa27f1e98
  1. 4
      src/CMakeLists.txt
  2. 4
      tests/threads.c

@ -2,6 +2,10 @@ include_directories(${GLFW_SOURCE_DIR}/src
${GLFW_BINARY_DIR}/src
${glfw_INCLUDE_DIRS})
if (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()
set(common_HEADERS ${GLFW_SOURCE_DIR}/include/GL/glfw3.h internal.h)
set(common_SOURCES clipboard.c fullscreen.c gamma.c init.c input.c
joystick.c opengl.c time.c window.c)

@ -28,6 +28,8 @@
//
//========================================================================
#include "tinycthread.h"
#include <GL/glfw3.h>
#include <stdio.h>
@ -35,8 +37,6 @@
#include <math.h>
#include <assert.h>
#include "tinycthread.h"
typedef struct
{
GLFWwindow window;

Loading…
Cancel
Save