Browse Source

Fix wordsize check for clang

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

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

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


Loading…
Cancel
Save