Browse Source

Add sh extention to prepare_64bit_asio, fail on first error

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.0.0
falkTX 1 year ago
parent
commit
4dccbc8270
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      prepare_64bit_asio.sh

+ 10
- 0
prepare_64bit_asio.sh View File

@@ -0,0 +1,10 @@
#!/bin/sh
set -e
sed -i asio.h -e 's/unsigned long/ULONG/g'
sed -i asio.h -e 's/long long int/LONGLONG/g'
sed -i asio.h -e 's/long int/LONG/g'
sed -i asio.h -e 's/long/LONG/g'
sed -i asio.h -e 's/(\*bufferSwitch)/(CALLBACK *bufferSwitch)/g'
sed -i asio.h -e 's/(\*sampleRateDidChange)/(CALLBACK *sampleRateDidChange)/g'
sed -i asio.h -e 's/(\*asioMessage)/(CALLBACK *asioMessage)/g'
sed -i asio.h -e 's/(\*bufferSwitchTimeInfo)/(CALLBACK *bufferSwitchTimeInfo)/g'

Loading…
Cancel
Save