15copies of the Software, and to permit persons to whom the Software is furnished
16to do so, subject to the following conditions:
17
18The above copyright notice and this permission notice shall
19be included in all copies or substantial portions of the Software.
20
21THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
25DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
26ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27DEALINGS IN THE SOFTWARE.
28
29
30
31*/
32
33#ifndef FILESYS_PREPROCESSOR_H_INCLUDED
34#define FILESYS_PREPROCESSOR_H_INCLUDED
35
36
37
38
39 #ifdef _WIN32
40 #include <windows.h>
41 #define __FSYS__ WINDOWS
42 #define __FSYS__UNSUPPORTED_OS false;
43
44 #elif __unix__
45 #include <unistd.h>
46 #include <dirent.h>
47 #include <sys/stat.h>
48 #include <sys/types.h>
49 #define __FSYS__ UNIX_VARIANT
50 #endif
51 #if !defined(__FSYS__)
52 #define __FSYS__UNSUPPORTED_OS true;
53 #define __FSYS__ UNKNOWN
54 #error Filesys: Unknown or unsupported operating system. Make sure you compile with your operating system specified. Supported OS defines: _WIN32 __unix__