Changeset 0b25b30 in git


Ignore:
Timestamp:
07/01/14 22:07:14 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
17edec7
Parents:
9ad69a0
Message:

src/msvc/config.h.in: Update to INT16_T to int16_t and INT32_T to
int32_t. AFAIK, building with MSVC hasn't been tested for a long
time, so it's likely more fixes will be needed.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r9ad69a0 r0b25b30  
     1Tue Jan 07 22:05:58 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * src/msvc/config.h.in: Update to INT16_T to int16_t and INT32_T to
     4          int32_t.  AFAIK, building with MSVC hasn't been tested for a long
     5          time, so it's likely more fixes will be needed.
     6
    17Tue Jan 07 21:55:27 GMT 2014  Olly Betts <olly@survex.com>
    28
  • src/msvc/config.h.in

    r9ad69a0 r0b25b30  
    3838#define AVEN_COPYRIGHT_MSG "@AVEN_COPYRIGHT_MSG@"
    3939
     40#if _MSC_VER >= 1600
     41# include <stdint.h>
     42#else
     43/* signed 16 bit integer type */
     44typedef __int16 int16_t;
     45
    4046/* signed 32 bit integer type */
    41 #define INT32_T long
    42 
    43 /* signed 16 bit integer type */
    44 #define INT16_T short
     47typedef __int32 int32_t;
     48#endif
    4549
    4650/* strcasecmp define for systems which call it something else */
Note: See TracChangeset for help on using the changeset viewer.