Fix for IEEE preprocessor directives [From Tiago Quintino]

This commit is contained in:
Shahram Najm 2013-06-19 16:54:11 +01:00
parent b43966afa5
commit 8d72bcbd9f
1 changed files with 10 additions and 0 deletions

View File

@ -148,6 +148,16 @@ if( GRIB_API_ALIGN_MEMORY )
set( GRIB_MEM_ALIGN 1 )
endif()
# fix for #if IEEE_LE or IEE_BE instead of #ifdef
if( IEEE_BE )
set( IEEE_LE 0 )
endif()
if( IEEE_LE )
set( IEEE_BE 0 )
endif()
###############################################################################
# contents