OSDN Git Service

[portaudio] Fix build errors
authorStarg <starg@users.osdn.me>
Sun, 9 May 2021 03:13:56 +0000 (12:13 +0900)
committerStarg <starg@users.osdn.me>
Sun, 9 May 2021 03:13:56 +0000 (12:13 +0900)
portaudio/src/hostapi/wasapi/pa_win_wasapi.c

index c76f302..1797ea8 100644 (file)
         #define NONAMELESSUNION
     #endif
 
-    #ifndef NT_SUCCESS
-        typedef LONG NTSTATUS;
-    #endif
-
     #ifndef WAVE_FORMAT_IEEE_FLOAT
         #define WAVE_FORMAT_IEEE_FLOAT 0x0003 // 32-bit floating-point
     #endif
 
 #endif // NTDDI_VERSION
 
+#ifndef NT_SUCCESS
+               typedef LONG NTSTATUS;
+#endif
+
 // Missing declarations for WinRT
 #ifdef PA_WINRT