commit | 60aa78315174e5bf9d98f66db582ad381e013817 | [log] [tgz] |
---|---|---|
author | subrata_modak <subrata_modak> | Fri Aug 01 09:00:16 2008 +0000 |
committer | subrata_modak <subrata_modak> | Fri Aug 01 09:00:16 2008 +0000 |
tree | 13805fe61042176d58e3b1a177552c31eaa877e3 | |
parent | d9e4d404983ce8cf4a785669a3b6fe58defce6d0 [diff] |
Compile error message occured on ia64 box. You should get a gcc warning on x86: "PAGE_SIZE" redefined. We can avoid the warning: #ifndef PAGE_SIZE #define PAGE_SIZE getpagesize() #endif But normally upper-case macros means constants, but the above macro is not a constant. Shi Weihua <shiwh@cn.fujitsu.com> & Li Zefan <lizf@cn.fujitsu.com>.