summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2008-06-12 14:55:12 +0000
committerAntonin Descampe <antonin@gmail.com>2008-06-12 14:55:12 +0000
commit846bd364bea4fbcc28dcf5d82260b088a3c75f18 (patch)
treecb549b8ca954697db24ccc03663b034a0de5c5e0
parent295ad6b112ab37974fba276fbf3c0cd4ccfd70d1 (diff)
fixed a bug in dirent.h that prevented codec on Linux Alpha Systems to compile correctly. Thanks to RobinC.
-rw-r--r--ChangeLog3
-rw-r--r--codec/dirent.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 92341ad5..fd2c2301 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
+June 12, 2008
+* [antonin] fixed a bug in dirent.h that prevented codec on Linux Alpha Systems to compile correctly. Thanks to RobinC.
+
May 22, 2008
* [antonin] fixed a bug in j2k.c (j2k_write_sod) that allowed to get negative rates, thanks zhong1985624 for pointing this.
diff --git a/codec/dirent.h b/codec/dirent.h
index a2b9176f..037569df 100644
--- a/codec/dirent.h
+++ b/codec/dirent.h
@@ -118,7 +118,7 @@
# define HAVE_SYS_DIR_H
# elif defined(__hpux) /* HP-UX */
# define HAVE_DIRENT_H
-# elif defined(__alpha) || defined(__alpha__) /* Alpha OSF1 */
+# elif (defined(__alpha) || defined(__alpha__)) && !defined(__linux__) /* Alpha OSF1 */
# error "not implemented"
# elif defined(__sgi) /* Silicon Graphics */
# define HAVE_DIRENT_H