Browse Source

fixes for 32 and 64-bit builds both being able to build

Chris Brunner 15 years ago
parent
commit
c87f384a40
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panda/src/express/weakPointerToBase.I
  2. 1 1
      panda/src/express/weakPointerToBase.h

+ 1 - 1
panda/src/express/weakPointerToBase.I

@@ -125,7 +125,7 @@ reassign(const WeakPointerToBase<To> &copy) {
 }
 
 #ifndef CPPPARSER
-#if !defined(WIN32_VC) && !defined(WIN64_VC)
+#ifndef WIN32_VC
 ////////////////////////////////////////////////////////////////////
 //     Function: WeakPointerToBase::Equivalence operator
 //       Access: Public

+ 1 - 1
panda/src/express/weakPointerToBase.h

@@ -48,7 +48,7 @@ public:
   // These comparison functions are common to all things PointerTo, so
   // they're defined up here.
 #ifndef CPPPARSER
-#if !defined(WIN32_VC) || !defined(WIN64_VC)
+#ifndef WIN32_VC
   INLINE bool operator == (const To *other) const;
   INLINE bool operator != (const To *other) const;
   INLINE bool operator > (const To *other) const;