Browse Source

Fix for missing wordsize/sizewidth macros on HaikuOS

tags/1.9.8
falkTX 7 years ago
parent
commit
bef3d546cc
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/includes/CarlaDefines.h

+ 3
- 1
source/includes/CarlaDefines.h View File

@@ -115,7 +115,9 @@
# define P_UINTPTR "%lx"
# define P_SIZE "%lu"
# define P_SSIZE "%li"
#elif (defined(__WORDSIZE) && __WORDSIZE == 64) || (defined(__SIZE_WIDTH__) && __SIZE_WIDTH__ == 64)
#elif (defined(__WORDSIZE) && __WORDSIZE == 64) || \
(defined(__SIZE_WIDTH__) && __SIZE_WIDTH__ == 64) || \
(defined(CARLA_OS_HAIKU) && defined(CARLA_OS_64BIT))
# define P_INT64 "%li"
# define P_UINT64 "%lu"
# define P_INTPTR "%li"


Loading…
Cancel
Save