Browse Source

Update mingw-compat, fix build with newer mingw

Signed-off-by: falkTX <falktx@falktx.com>
pull/28/head
falkTX 1 year ago
parent
commit
930ebef090
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
8 changed files with 28 additions and 1 deletions
  1. +3
    -0
      mingw-compat/condition_variable
  2. +3
    -0
      mingw-compat/future
  3. +3
    -0
      mingw-compat/invoke
  4. +9
    -0
      mingw-compat/latch
  5. +3
    -0
      mingw-compat/mutex
  6. +3
    -0
      mingw-compat/shared_mutex
  7. +3
    -0
      mingw-compat/thread
  8. +1
    -1
      setup/versions.sh

+ 3
- 0
mingw-compat/condition_variable View File

@@ -3,4 +3,7 @@


#pragma once #pragma once
#include_next <condition_variable> #include_next <condition_variable>

#if __GNUC__ < 12
#include "mingw.condition_variable.h" #include "mingw.condition_variable.h"
#endif

+ 3
- 0
mingw-compat/future View File

@@ -3,4 +3,7 @@


#pragma once #pragma once
#include_next <future> #include_next <future>

#if __GNUC__ < 12
#include "mingw.future.h" #include "mingw.future.h"
#endif

+ 3
- 0
mingw-compat/invoke View File

@@ -3,4 +3,7 @@


#pragma once #pragma once
#include_next <invoke> #include_next <invoke>

#if __GNUC__ < 12
#include "mingw.invoke.h" #include "mingw.invoke.h"
#endif

+ 9
- 0
mingw-compat/latch View File

@@ -0,0 +1,9 @@
// Copyright 2023 Filipe Coelho <falktx@falktx.com>
// SPDX-License-Identifier: 0BSD OR ISC

#pragma once
#include_next <latch>

#if __GNUC__ < 12
#include "mingw.latch.h"
#endif

+ 3
- 0
mingw-compat/mutex View File

@@ -3,4 +3,7 @@


#pragma once #pragma once
#include_next <mutex> #include_next <mutex>

#if __GNUC__ < 12
#include "mingw.mutex.h" #include "mingw.mutex.h"
#endif

+ 3
- 0
mingw-compat/shared_mutex View File

@@ -3,4 +3,7 @@


#pragma once #pragma once
#include_next <shared_mutex> #include_next <shared_mutex>

#if __GNUC__ < 12
#include "mingw.shared_mutex.h" #include "mingw.shared_mutex.h"
#endif

+ 3
- 0
mingw-compat/thread View File

@@ -3,4 +3,7 @@


#pragma once #pragma once
#include_next <thread> #include_next <thread>

#if __GNUC__ < 12
#include "mingw.thread.h" #include "mingw.thread.h"
#endif

+ 1
- 1
setup/versions.sh View File

@@ -37,7 +37,7 @@ LIBSNDFILE_URL=https://github.com/libsndfile/libsndfile/releases/download/${LIBS
LIBSAMPLERATE_VERSION=0.1.9 LIBSAMPLERATE_VERSION=0.1.9
LIBSAMPLERATE_URL=http://www.mega-nerd.com/SRC LIBSAMPLERATE_URL=http://www.mega-nerd.com/SRC


MINGW_STD_THREADS_VERSION=6c2061b7da41d6aa1b2162ff4383ec3ece864bc6
MINGW_STD_THREADS_VERSION=c931bac289dd431f1dd30fc4a5d1a7be36668073
MINGW_STD_THREADS_URL=https://github.com/meganz/mingw-std-threads.git MINGW_STD_THREADS_URL=https://github.com/meganz/mingw-std-threads.git


ZLIB_VERSION=cacf7f1d4e3d44d871b605da3b647f07d718623f # 1.2.11 ZLIB_VERSION=cacf7f1d4e3d44d871b605da3b647f07d718623f # 1.2.11


Loading…
Cancel
Save