DEM File Packer
A Program that Packs DEM Files Into a Single Humongous Binary File
 All Files Functions Variables Pages
defines.h
Go to the documentation of this file.
1 
2 
3 
4 // Copyright Ian Parberry, April 2014.
5 //
6 // This file is made available under the GNU All-Permissive License.
7 //
8 // Copying and distribution of this file, with or without modification,
9 // are permitted in any medium without royalty provided the copyright
10 // notice and this notice are preserved. This file is offered as-is,
11 // without any warranty.
12 //
13 // Created by Ian Parberry, April 2014.
14 // Last updated May 31, 2014.
15 
16 #pragma once
17 
18 #if defined(_MSC_VER) //Windows Visual Studio
19 
20  #include <windows.h> //for timeGetTime() mainly
21  #include <conio.h> //for _getch()
22  #pragma warning(disable : 4996) //disable annoying security warnings for stdio functions
23 
24 #else//other OS
25 
26  #include <time.h>
27  #include <sys/time.h>
28 
29 #endif