fix to continue support for compiling outside of panda

This commit is contained in:
David Rose 2001-11-09 16:28:21 +00:00
parent 0988fc735d
commit c0a62ab35e
2 changed files with 9 additions and 1 deletions

View File

@ -37,7 +37,7 @@
#include "pvector.h"
#include "pmap.h"
#else
#else // WITHIN_PANDA
#ifdef WIN32
/* C4786: 255 char debug symbols */

View File

@ -20,8 +20,16 @@
#define PRIMENUMBERGENERATOR_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"
#else
typedef vector<int> vector_int;
#endif
////////////////////////////////////////////////////////////////////
// Class : PrimeNumberGenerator
// Description : This class generates a table of prime numbers, up to