mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 21:32:58 -04:00
fix to continue support for compiling outside of panda
This commit is contained in:
parent
0988fc735d
commit
c0a62ab35e
@ -37,7 +37,7 @@
|
|||||||
#include "pvector.h"
|
#include "pvector.h"
|
||||||
#include "pmap.h"
|
#include "pmap.h"
|
||||||
|
|
||||||
#else
|
#else // WITHIN_PANDA
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
/* C4786: 255 char debug symbols */
|
/* C4786: 255 char debug symbols */
|
||||||
|
@ -20,8 +20,16 @@
|
|||||||
#define PRIMENUMBERGENERATOR_H
|
#define PRIMENUMBERGENERATOR_H
|
||||||
|
|
||||||
#include "dcbase.h"
|
#include "dcbase.h"
|
||||||
|
|
||||||
|
#ifdef WITHIN_PANDA
|
||||||
|
// We only have the vector_int header file if we're compiling this
|
||||||
|
// package within the normal Panda environment.
|
||||||
#include "vector_int.h"
|
#include "vector_int.h"
|
||||||
|
|
||||||
|
#else
|
||||||
|
typedef vector<int> vector_int;
|
||||||
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Class : PrimeNumberGenerator
|
// Class : PrimeNumberGenerator
|
||||||
// Description : This class generates a table of prime numbers, up to
|
// Description : This class generates a table of prime numbers, up to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user