MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
lt_system.h
Go to the documentation of this file.
1//
2// This code is property of Celartem, Inc dba Extensis.
3// Copyright (c) 1995-2023. All rights reserved.
4// Use permitted only under license from Extensis.
5//
6/* PUBLIC */
7
16#ifndef LT_SYSTEM_H
17#define LT_SYSTEM_H
18
19#include "lt_platform.h"
20
21/*
22 * justifications for inclusions are that we want:
23 *
24 * nullptr
25 * memcpy() ...
26 * malloc() ...
27 * strlen() ...
28 * isdigit() ...
29 * printf() ...
30 * posix
31 */
32
33
34/* common to all platforms */
35#include <stdio.h>
36#include <string.h>
37#include <stdlib.h>
38#include <math.h>
39#include <stddef.h>
40#include <ctype.h>
41#include <limits.h>
42#include <float.h>
43
44
45#if defined(LT_OS_UNIX)
46
47 #include <unistd.h>
48 #include <strings.h>
49 #include <time.h>
50
51#elif defined(LT_OS_WIN)
52
53 #include <time.h>
54
55 #ifndef strcasecmp
56 #define strcasecmp _stricmp
57 #endif
58 #ifndef strncasecmp
59 #define strncasecmp _strnicmp
60 #endif
61
62#else
63
64 #error Port me!
65
66#endif
67
68
69#endif /* LT_SYSTEM_H */
Preprocessor symbols for canonical identification of OS, architecture, and compiler.

Extensis