MrSID Decode SDK for Raster Reference Manual  9.0.0.3864
lt_system.h
Go to the documentation of this file.
00001 /* $Id$ */
00002 /* //////////////////////////////////////////////////////////////////////////
00003 //                                                                         //
00004 // This code is Copyright (c) 2005 LizardTech, Inc, 1008 Western Avenue,   //
00005 // Suite 200, Seattle, WA 98104.  Unauthorized use or distribution         //
00006 // prohibited.  Access to and use of this code is permitted only under     //
00007 // license from LizardTech, Inc.  Portions of the code are protected by    //
00008 // US and foreign patents and other filings. All Rights Reserved.          //
00009 //                                                                         //
00011 /* PUBLIC */
00012 
00023 #ifndef LT_SYSTEM_H
00024 #define LT_SYSTEM_H
00025 
00026 #include "lt_platform.h"
00027 
00028 /*
00029  * justifications for inclusions are that we want:
00030  *
00031  *   NULL
00032  *   memcpy() ...
00033  *   malloc() ...
00034  *   strlen() ...
00035  *   isdigit() ...
00036  *   printf() ...
00037  *   posix
00038  */
00039 
00040 
00041 /* common to all platforms */
00042 #include <stdio.h>
00043 #include <string.h>
00044 #include <stdlib.h>
00045 #include <math.h>
00046 #include <stddef.h>
00047 #include <ctype.h>
00048 #include <limits.h>
00049 #include <float.h>
00050 
00051 
00052 #if defined(LT_OS_UNIX)
00053 
00054    #include <unistd.h>
00055    #include <strings.h>
00056    #include <time.h>
00057    #include <wchar.h>
00058 
00059 #elif defined(LT_OS_WIN)
00060 
00061    #include <time.h>
00062    #include <wchar.h>
00063 
00064 #else
00065 
00066    #error Port me!
00067 
00068 #endif
00069 
00070 
00071 #endif /* LT_SYSTEM_H */