Merge pull request #49 from Yatima1460/master

replace _WIN32 with _MSC_VER
This commit is contained in:
Recep Aslantas
2018-04-30 19:08:59 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
#include <math.h> #include <math.h>
#include <float.h> #include <float.h>
#if defined(_WIN32) #if defined(_MSC_VER)
# ifdef CGLM_DLL # ifdef CGLM_DLL
# define CGLM_EXPORT __declspec(dllexport) # define CGLM_EXPORT __declspec(dllexport)
# else # else

View File

@@ -8,7 +8,7 @@
#ifndef cglm_intrin_h #ifndef cglm_intrin_h
#define cglm_intrin_h #define cglm_intrin_h
#if defined( _WIN32 ) #if defined( _MSC_VER )
# if (defined(_M_AMD64) || defined(_M_X64)) || _M_IX86_FP == 2 # if (defined(_M_AMD64) || defined(_M_X64)) || _M_IX86_FP == 2
# ifndef __SSE2__ # ifndef __SSE2__
# define __SSE2__ # define __SSE2__