QNX: Modification for QNX 6.5 compilation
[ipc/ipcdev.git] / qnx / src / ipc3x_dev / ti / syslink / Std.h
index c3b8bc91604546bd39b13798c150bd51cca4531c..b04f45c2e9db058d108c9a273c508011b8eaa553 100644 (file)
@@ -9,7 +9,7 @@
  *
  *  ============================================================================
  *
- *  Copyright (c) 2008-2009, Texas Instruments Incorporated
+ *  Copyright (c) 2008-2015, Texas Instruments Incorporated
  *
  *  Redistribution and use in source and binary forms, with or without
  *  modification, are permitted provided that the following conditions
  *
  */
 
-#if !defined(STD_H)
-#define STD_H
+#if !defined(SYSLINK_STD_H)
+#define SYSLINK_STD_H
 
-#ifdef SYSLINK_BUILDOS_LINUX
-#include <std_linux.h>
-#elif SYSLINK_BUILDOS_QNX
-#include <std_qnx.h>
-#endif
+#include <ti/ipc/Std.h>
+#include <ti/syslink/inc/Qnx/std_qnx.h>
 
 #if defined (__cplusplus)
 extern "C" {
 #endif
 
-typedef char              Char;
-typedef unsigned char     UChar;
-typedef short             Short;
-typedef unsigned short    UShort;
-typedef int               Int;
-typedef unsigned int      UInt;
 #ifndef _UINT_DEFINED
 #define _UINT_DEFINED
 typedef unsigned int      uint;
 #endif
 typedef unsigned int      UINT32;
-typedef long              Long;
-typedef unsigned long     ULong;
 typedef unsigned long     ULONG;
 typedef unsigned long     DWORD;
-typedef float             Float;
-typedef double            Double;
-typedef long double       LDouble;
-typedef void              Void;
-typedef void             * HANDLE;
 typedef unsigned int     atomic_t;
 
-typedef unsigned short    Bool;
 typedef unsigned short    BOOL;
-typedef void            * Ptr;       /* data pointer */
-typedef char            * String;    /* null terminated string */
-
-
-typedef int            *  IArg;
-typedef unsigned int   *  UArg;
-typedef char              Int8;
-typedef short             Int16;
-typedef int               Int32;
-
-typedef unsigned char     UInt8;
-typedef unsigned short    UInt16;
-typedef unsigned int      UInt32;
-typedef unsigned int      SizeT;
-typedef unsigned char     Bits8;
-typedef unsigned short    Bits16;
-typedef UInt32            Bits32;
-
-#define TRUE              1
-#define FALSE             0
 
 /*! Data type for errors */
 typedef UInt32            Error_Block;