version 1.1, 2010/08/18 22:18:53 |
version 1.3, 2011/09/08 08:14:52 |
|
|
$OpenBSD$ |
$OpenBSD$ |
--- src/Common/commandline.cpp.orig Sat May 29 14:46:35 2010 |
--- src/Common/commandline.cpp.orig Wed Aug 10 17:21:22 2011 |
+++ src/Common/commandline.cpp Sat May 29 14:47:12 2010 |
+++ src/Common/commandline.cpp Wed Sep 7 17:13:52 2011 |
@@ -41,7 +41,7 @@ |
@@ -48,7 +48,7 @@ |
void writeRGBEfile (pfs::Frame* inputpfsframe, const char* outfilename); |
#include "Fileformat/pfstiff.h" |
void writeEXRfile (pfs::Frame* inputpfsframe, const char* outfilename); |
#include "Fileformat/pfs_file_format.h" |
|
|
-#if defined(__FreeBSD__) || defined(WIN32) || defined(Q_WS_MAC) || defined(__APPLE__) |
-#if defined(__FreeBSD__) || defined(WIN32) || defined(Q_WS_MAC) || defined(__APPLE__) |
+#if defined(__FreeBSD__) || defined(WIN32) || defined(Q_WS_MAC) || defined(__APPLE__) || defined(__OpenBSD__) |
+#if defined(__FreeBSD__) || defined(WIN32) || defined(Q_WS_MAC) || defined(__APPLE__) || defined(__OpenBSD__) |
#define error(Z) { fprintf(stderr,Z); exit(1); } |
#define error(Z) { fprintf(stderr,"%s", Z); exit(1); } |
|
|
#else |
#else |
#include <error.h> |
|