Haiku no longer defines __BEOS__
This commit is contained in:
parent
ed96d9a605
commit
7a1b961de8
|
@ -16,7 +16,7 @@ int main(int ac, char*av[]){
|
||||||
pthread_create(&tid[0], 0, runner, (void*)1);
|
pthread_create(&tid[0], 0, runner, (void*)1);
|
||||||
pthread_create(&tid[1], 0, runner, (void*)2);
|
pthread_create(&tid[1], 0, runner, (void*)2);
|
||||||
|
|
||||||
#if defined(__BEOS__) && !defined(__ZETA__) && !defined(__HAIKU__) // (no usleep on BeOS 5.)
|
#if defined(__BEOS__) && !defined(__ZETA__) // (no usleep on BeOS 5.)
|
||||||
usleep(1); // for strange behavior on single-processor sun
|
usleep(1); // for strange behavior on single-processor sun
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(_WIN32) \
|
#if !defined(_WIN32) \
|
||||||
&& !defined(__QNXNTO__) && !defined(__BEOS__)
|
&& !defined(__QNXNTO__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||||
# include "cmCPackDebGenerator.h"
|
# include "cmCPackDebGenerator.h"
|
||||||
# include "cmCPackRPMGenerator.h"
|
# include "cmCPackRPMGenerator.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -126,7 +126,7 @@ cmCPackGeneratorFactory::cmCPackGeneratorFactory()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if !defined(_WIN32) \
|
#if !defined(_WIN32) \
|
||||||
&& !defined(__QNXNTO__) && !defined(__BEOS__)
|
&& !defined(__QNXNTO__) && !defined(__BEOS__) && !defined(__HAIKU__)
|
||||||
if (cmCPackDebGenerator::CanGenerate())
|
if (cmCPackDebGenerator::CanGenerate())
|
||||||
{
|
{
|
||||||
this->RegisterGenerator("DEB", "Debian packages",
|
this->RegisterGenerator("DEB", "Debian packages",
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
#include <cm_zlib.h>
|
#include <cm_zlib.h>
|
||||||
#include <cmsys/Base64.h>
|
#include <cmsys/Base64.h>
|
||||||
|
|
||||||
#if defined(__BEOS__) && !defined(__HAIKU__)
|
#if defined(__BEOS__)
|
||||||
#include <be/kernel/OS.h> /* disable_debugger() API. */
|
#include <be/kernel/OS.h> /* disable_debugger() API. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue