windows include in visual

This commit is contained in:
Joachim Schoeberl 2024-02-10 10:05:00 +01:00
parent 61f34fc4ad
commit 6622829e8f

View File

@ -17,6 +17,27 @@ Visualization
// #define PARALLELGL
// #endif
/*** Windows headers ***/
#ifdef _MSC_VER
# define WIN32_LEAN_AND_MEAN
# ifndef NO_PARALLEL_THREADS
# ifdef MSVC_EXPRESS
# else
# include <afxwin.h>
# include <afxmt.h>
# endif // MSVC_EXPRESS
# endif
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# include <winnt.h>
#else // Not using MC VC++
#endif
#include "visual_api.hpp"
#include "../include/incopengl.hpp"