Browse Source

Correct types.h for use with MINGW on Windows.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1703 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.68
sletz 18 years ago
parent
commit
03c5d1c047
2 changed files with 18 additions and 12 deletions
  1. +4
    -2
      ChangeLog
  2. +14
    -10
      common/jack/types.h

+ 4
- 2
ChangeLog View File

@@ -8,7 +8,8 @@ Thom Johansen
Thibault LeMeur Thibault LeMeur
Pieter Palmers Pieter Palmers
Tom Szilagyi Tom Szilagyi
Andrzej Szombierski
Andrzej Szombierski
Kjetil S.Matheussen
--------------------------- ---------------------------
Jackdmp changes log Jackdmp changes log
@@ -16,7 +17,8 @@ Andrzej Szombierski
2007-11-05 Stephane Letz <letz@grame.fr> 2007-11-05 Stephane Letz <letz@grame.fr>
* Use of JackWinSemaphore instead of JackWinEvent for inter-process synchronization.
* Use of JackWinSemaphore instead of JackWinEvent for inter-process synchronization.
* Correct types.h for use with MINGW on Windows.
2007-11-04 Stephane Letz <letz@grame.fr> 2007-11-04 Stephane Letz <letz@grame.fr>


+ 14
- 10
common/jack/types.h View File

@@ -22,17 +22,21 @@
#define __jack_types_h__ #define __jack_types_h__


#ifdef WIN32 #ifdef WIN32
#include <windows.h>
typedef char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef long int32_t;
typedef unsigned long uint32_t;
typedef LONGLONG int64_t;
typedef ULONGLONG uint64_t;
#include <windows.h>
#ifndef __MINGW32__
typedef long int32_t;
typedef unsigned long uint32_t;
#else #else
#include <inttypes.h>
#include <stdint.h>
#endif
typedef char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef LONGLONG int64_t;
typedef ULONGLONG uint64_t;
#else
#include <inttypes.h>
#endif #endif


typedef int32_t jack_shmsize_t; typedef int32_t jack_shmsize_t;


Loading…
Cancel
Save