Skip to content

Commit

Permalink
remove unneded stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Oct 7, 2018
1 parent a83f1e7 commit a472cb2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
18 changes: 0 additions & 18 deletions Externals/OPCODE/OPC_Preprocessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,6 @@
#ifndef __ICEPREPROCESSOR_H__
#define __ICEPREPROCESSOR_H__

/*
// Check platform
#if defined(_WIN32) || defined(WIN32)
#pragma message("Compiling on Windows...")
#define PLATFORM_WINDOWS
#else
#pragma message("Compiling on unknown platform...")
#endif
// Check compiler
#if defined(_MSC_VER)
#pragma message("Compiling with VC++...")
#define COMPILER_VISUAL_CPP
#else
#pragma message("Compiling with unknown compiler...")
#endif
*/

// Check compiler options
#ifdef COMPILER_VISUAL_CPP
#if defined(_CHAR_UNSIGNED)
Expand Down
11 changes: 0 additions & 11 deletions Externals/OPCODE/OPC_Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,8 @@ typedef signed short sword; //!< sizeof(sword) must be 2
typedef unsigned short uword; //!< sizeof(uword) must be 2
typedef signed int sdword; //!< sizeof(sdword) must be 4
typedef unsigned int udword; //!< sizeof(udword) must be 4
#if defined (_MSC_VER)
typedef signed __int64 sqword; //!< sizeof(sqword) must be 8
typedef unsigned __int64 uqword; //!< sizeof(uqword) must be 8
#else
typedef int64_t sqword; //!< sizeof(sqword) must be 8
typedef uint64_t uqword; //!< sizeof(uqword) must be 8
#endif
typedef float float32; //!< sizeof(float32) must be 4
typedef double float64; //!< sizeof(float64) must be 4

Expand All @@ -76,12 +71,6 @@ typedef udword RTYPE; //!< Relationship-type (!) between owners and references
#define INVALID_KID 0xffff //!< Invalid Kernel ID
#define INVALID_NUMBER 0xDEADBEEF //!< Standard junk value

// Define BOOL if needed
#if defined (_MSC_VER)
#ifndef BOOL
typedef int BOOL; //!< Another boolean type.
#endif
#endif
//! Union of a float and a sdword
typedef union
{
Expand Down

0 comments on commit a472cb2

Please sign in to comment.