Changeset 1510 for trunk/lib


Ignore:
Timestamp:
Oct 3, 2011, 7:33:40 PM (8 years ago)
Author:
ksherdy
Message:

Defined BYTE_ORDER, LITTLE_ENDIAN, BIG_ENDIAN for MSVC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/config.hpp

    r1509 r1510  
    1111#ifndef CONFIG_HPP_
    1212#define CONFIG_HPP_
     13
     14#ifndef BYTE_ORDER
     15        #if defined _MSC_VER
     16                #define LITTLE_ENDIAN 1234
     17                #define BIG_ENDIAN 4321
     18                #define BYTE_ORDER LITTLE_ENDIAN
     19        #endif
     20#endif
    1321
    1422/*
Note: See TracChangeset for help on using the changeset viewer.