Skip to content

Commit a019520

Browse files
committed
gobj: don't define GeomVertexReader::empty_buffer in opt3 build
1 parent e48a40a commit a019520

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

panda/src/gobj/geomVertexReader.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
#include "geomVertexReader.h"
1515

16-
#ifndef NDEBUG
17-
// This is defined just for the benefit of having something non-NULL to
18-
// return from a nassertr() call.
16+
#ifdef _DEBUG
17+
// This is defined just for the benefit of having something non-NULL to
18+
// return from a nassertr() call.
1919
const unsigned char GeomVertexReader::empty_buffer[100] = { 0 };
2020
#endif
2121

panda/src/gobj/geomVertexReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class EXPCL_PANDA_GOBJ GeomVertexReader : public GeomEnums {
155155
int _start_row;
156156
bool _force;
157157

158-
#ifndef NDEBUG
158+
#ifdef _DEBUG
159159
// This is defined just for the benefit of having something non-NULL to
160160
// return from a nassertr() call.
161161
static const unsigned char empty_buffer[100];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy