mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Finally finish with MinGW building (linking still has some issues shush)
This commit is contained in:
parent
ad07988f5b
commit
854f39b4ab
32 changed files with 104 additions and 19 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* accompanying file LICENSE for details.
|
||||
*/
|
||||
#define NOMINMAX
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <initguid.h>
|
||||
#include <windows.h>
|
||||
#include <mmdeviceapi.h>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,10 @@
|
|||
#include "cubeb/cubeb.h"
|
||||
#include "cubeb-internal.h"
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#define _snprintf_s(dest, size, count, ...) snprintf(dest, size, __VA_ARGS__)
|
||||
#endif
|
||||
|
||||
/* This is missing from the MinGW headers. Use a safe fallback. */
|
||||
#if !defined(MEMORY_ALLOCATION_ALIGNMENT)
|
||||
#define MEMORY_ALLOCATION_ALIGNMENT 16
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue