[trunk] Properly copy/paste code from the autotools
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Thu, 27 Mar 2014 15:07:58 +0000 (15:07 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Thu, 27 Mar 2014 15:07:58 +0000 (15:07 +0000)
commit616a3345c45e2cd800778880b2b10bc868edbe41
treea2dbba00b71f97ed4915273dacbeccb9c75063ec
parent1f8d84a5620dfb74f2c5812e161ad7942a23abcf
[trunk] Properly copy/paste code from the autotools
gcc correctly fails compiling this code, I needed to move the code outside the main function to get the error. This actually match the autotools (incorrect) code. We'll see how they fix this code in future release.
This make the code compatible with previous openjpeg version and remove C99 requirement.
Fixes issue 316
cmake/TestFileOffsetBits.c