mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
compile fixes
This commit is contained in:
parent
40f70c388f
commit
97c9914da2
@ -35,6 +35,7 @@
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#include <shellapi.h>
|
||||||
|
|
||||||
#define snprintf sprintf_s
|
#define snprintf sprintf_s
|
||||||
#endif
|
#endif
|
||||||
@ -233,7 +234,11 @@ approve_cert() {
|
|||||||
assert(_cert != NULL);
|
assert(_cert != NULL);
|
||||||
|
|
||||||
// Make sure the directory exists.
|
// Make sure the directory exists.
|
||||||
|
#ifdef _WIN32
|
||||||
|
mkdir_complete_w(_cert_dir, cerr);
|
||||||
|
#else
|
||||||
mkdir_complete(_cert_dir, cerr);
|
mkdir_complete(_cert_dir, cerr);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Look for an unused filename.
|
// Look for an unused filename.
|
||||||
int i = 1;
|
int i = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user