3dafe5cc41
Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable. Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms. Built around a plugin framework, Code::Blocks can be extended with plugins. Any kind of functionality can be added by installing/coding a plugin. For instance, compiling and debugging functionality is already provided by plugins! Originally packaged in pkgsrc-wip by: - Ondrej Tuma, - Joerg Sonnenberg, - Thomas Klausner, - Tobias Nygren, - Mark Davies, - Blue Rats, - Aleksej Saushev, - Aleksej Lebedev, - K.I.A.Derouiche and - myself.
16 lines
515 B
C++
16 lines
515 B
C++
$NetBSD: patch-src_src_prefix.cpp,v 1.1 2016/06/16 02:28:51 kamil Exp $
|
|
|
|
Unbreak build on NetBSD. Stop redefining NULL as an arbitrary value.
|
|
|
|
--- src/src/prefix.cpp.orig 2016-01-23 16:43:04.000000000 +0000
|
|
+++ src/src/prefix.cpp
|
|
@@ -55,9 +55,6 @@ extern "C" {
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
-#undef NULL
|
|
-#define NULL ((void *) 0)
|
|
-
|
|
#ifdef __GNUC__
|
|
#define br_return_val_if_fail(expr,val) if (!(expr)) {fprintf (stderr, "** BinReloc (%s): assertion %s failed\n", __PRETTY_FUNCTION__, #expr); return val;}
|
|
#else
|