summaryrefslogtreecommitdiffstats
path: root/tests/fullbench.c
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-12-20 17:05:43 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-12-20 17:05:43 (GMT)
commit2cfef13952c4c7c3d79a9a4748653526d6c85eb0 (patch)
treeb7744b5a3ef7306be0195bd38b4a384630d8052d /tests/fullbench.c
parentbb69cdf2583a56c6c703f5b91aae0632912f5a8a (diff)
downloadlz4-2cfef13952c4c7c3d79a9a4748653526d6c85eb0.zip
lz4-2cfef13952c4c7c3d79a9a4748653526d6c85eb0.tar.gz
lz4-2cfef13952c4c7c3d79a9a4748653526d6c85eb0.tar.bz2
executables use platform.h
Diffstat (limited to 'tests/fullbench.c')
-rw-r--r--tests/fullbench.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/tests/fullbench.c b/tests/fullbench.c
index 7d54492..df6d4fc 100644
--- a/tests/fullbench.c
+++ b/tests/fullbench.c
@@ -23,20 +23,6 @@
- LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
*/
-/**************************************
-* Compiler Options
-**************************************/
-/* Disable some Visual warning messages */
-#define _CRT_SECURE_NO_WARNINGS
-#define _CRT_SECURE_NO_DEPRECATE /* VS2005 */
-
-/* Unix Large Files support (>4GB) */
-#if (defined(__sun__) && (!defined(__LP64__))) // Sun Solaris 32-bits requires specific definitions
-# define _LARGEFILE_SOURCE
-# define _FILE_OFFSET_BITS 64
-#elif ! defined(__LP64__) // No point defining Large file for 64 bit
-# define _LARGEFILE64_SOURCE
-#endif
// S_ISREG & gettimeofday() are not supported by MSVC
#if defined(_MSC_VER) || defined(_WIN32)
@@ -48,7 +34,7 @@
* Includes
**************************************/
#include <stdlib.h> /* malloc, free */
-#include <stdio.h> /* fprintf, fopen, ftello64 */
+#include <stdio.h> /* fprintf, fopen, ftello */
#include <sys/types.h> /* stat64 */
#include <sys/stat.h> /* stat64 */
#include <string.h> /* strcmp */