Logo Search packages:      
Sourcecode: xdms version File versions  Download package

cdata.h

/*
 *     xDMS  v1.3  -  Portable DMS archive unpacker  -  Public Domain
 *     Written by     Andre Rodrigues de la Rocha  <adlroc@usa.net>
 *
 *     Main types of variables used in xDMS, some implementation
 *     dependant features and other global stuff
 */

#include <stdint.h>

#ifndef UCHAR
#define UCHAR uint8_t
#endif

#ifndef USHORT
#define USHORT uint16_t
#endif

#ifndef SHORT
#define SHORT int16_t
#endif

#ifndef ULONG
#define ULONG uint32_t
#endif



#ifndef INLINE
      #ifdef __cplusplus
            #define INLINE inline
      #else
            #ifdef __GNUC__
                  #define INLINE inline
            #else
                  #ifdef __SASC
                        #define INLINE __inline
                  #else
                        #define INLINE static
                  #endif
            #endif
      #endif
#endif


#ifndef UNDER_DOS
      #ifdef __MSDOS__
            #define UNDER_DOS
      #else
            #ifdef __MSDOS
                  #define UNDER_DOS
            #else
                  #ifdef _OS2
                        #define UNDER_DOS
                  #else
                        #ifdef _QC
                              #define UNDER_DOS
                        #endif
                  #endif
            #endif
      #endif
#endif


#ifndef DIR_CHAR
      #ifdef UNDER_DOS
            /* running under MSDOS or DOS-like OS */
            #define DIR_CHAR '\\'
      #else
            #define DIR_CHAR '/'
      #endif
#endif


#define DIR_SEPARATORS ":\\/"


extern UCHAR *text;



Generated by  Doxygen 1.6.0   Back to index