summaryrefslogtreecommitdiff
path: root/codec/volume_to_jp3d.c
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2010-12-08 11:06:41 +0000
committerAntonin Descampe <antonin@gmail.com>2010-12-08 11:06:41 +0000
commit9fdaaa3316b362f538c2ea51888c93dc9a7452d4 (patch)
tree6c89ad2707dc066b4a5a79a1244c577b6a2a7797 /codec/volume_to_jp3d.c
parentc906c230fb403ff190d1730365026603f4c2c0d9 (diff)
(thanks to Winfried for his help)
* [antonin] changed remaining "WIN32" to "_WIN32" ! [antonin] libopenjpeg has no more dependency on LCMS lib. Everything concerning color (icc profile, conversion to rgb, etc) has been put outside libopenjpeg and is used in j2k_to_image.c and mj2_to_frames.c. - [antonin] removed "opj_convert{.c,.h}" + [antonin] added a directory "common/" that contains "getopt{.c,.h}" (previously in "codec/compat"). + [antonin] added files "color{.c,.h}" in "common/" that define the code for icc profile management and sycc_to_rgb conversion + [antonin] added "common/format_defs.h" that contains common definitions used in image_to_j2k, j2k_to_image, j2k_dump.
Diffstat (limited to 'codec/volume_to_jp3d.c')
-rwxr-xr-xcodec/volume_to_jp3d.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/codec/volume_to_jp3d.c b/codec/volume_to_jp3d.c
index 238c47f5..d448fbe1 100755
--- a/codec/volume_to_jp3d.c
+++ b/codec/volume_to_jp3d.c
@@ -36,10 +36,12 @@
#include "getopt.h"
#include "convert.h"
-#ifndef WIN32
+#ifdef _WIN32
+#include <windows.h>
+#else
#define stricmp strcasecmp
#define strnicmp strncasecmp
-#endif
+#endif /* _WIN32 */
/* ----------------------------------------------------------------------- */