summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2016-01-25 23:22:06 +0100
committerAntonin Descampe <antonin@gmail.com>2016-01-25 23:22:06 +0100
commit0febbff19e05cb1a6c2613eee76ad46a669c96cd (patch)
treeb6442d01348e2ba6404d0fd6abcc4eb6d6cc1390 /cmake
parentbede1568b197021bb576b935422af6c1d0a79e21 (diff)
processed all c/h files through astyle with opj_astyle.cfgcodingstyle
Diffstat (limited to 'cmake')
-rw-r--r--cmake/TestFileOffsetBits.c4
-rw-r--r--cmake/TestWindowsFSeek.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/cmake/TestFileOffsetBits.c b/cmake/TestFileOffsetBits.c
index cd679c11..252e7e3f 100644
--- a/cmake/TestFileOffsetBits.c
+++ b/cmake/TestFileOffsetBits.c
@@ -2,10 +2,10 @@
/* Cause a compile-time error if off_t is smaller than 64 bits */
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
-int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];
+int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ];
int main(int argc, char **argv)
{
- return 0;
+ return 0;
}
diff --git a/cmake/TestWindowsFSeek.c b/cmake/TestWindowsFSeek.c
index ad9f0be1..742ab830 100644
--- a/cmake/TestWindowsFSeek.c
+++ b/cmake/TestWindowsFSeek.c
@@ -1,11 +1,11 @@
#include <stdio.h>
-
+
int main()
{
- __int64 off=0;
+ __int64 off=0;
+
+ _fseeki64(NULL, off, SEEK_SET);
- _fseeki64(NULL, off, SEEK_SET);
-
- return 0;
+ return 0;
}