mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
we still need to include dtoolbase.h first to ensure that _WIN32_WINNT is defined before we include windows.h
This commit is contained in:
parent
b18c13895c
commit
113e8c5463
@ -15,6 +15,7 @@
|
||||
#ifndef P3DEMBED_H
|
||||
#define P3DEMBED_H
|
||||
|
||||
#include "dtoolbase.h"
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
@ -15,11 +15,11 @@
|
||||
#ifndef PANDA3D_H
|
||||
#define PANDA3D_H
|
||||
|
||||
#include "dtoolbase.h"
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
|
||||
#include "panda3dBase.h"
|
||||
#include "p3d_plugin.h"
|
||||
#include "httpChannel.h"
|
||||
|
@ -12,6 +12,7 @@
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "dtoolbase.h"
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user