search for: winapi_family_partition

Displaying 4 results from an estimated 4 matches for "winapi_family_partition".

2017 Jan 06
1
[PATCH 5/5] win_utf8_io: Avoid forbidden functions when building for WinRT/UWP
...al Studio (and in some older versions of MinGW). > #include "share/win_utf8_io.h" > #include "share/windows_unicode_filenames.h" > @@ -164,11 +165,13 @@ size_t strlen_utf8(const char *str) > int win_get_console_width(void) > { > int width = 80; > +#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) Apparently these preprocessor defines are from winapifamily.h so it won't work in older MSVS and MinGW. > CONSOLE_SCREEN_BUFFER_INFO csbi; > HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE); > if(hOut != INVALID_HANDLE_VALUE && hOut != NULL) >...
2017 Jan 06
8
[PATCH 0/5] Allow multiple targets to be disabled
Hi, This patchet allows a few targets to be disabled when unrequired. The rational is coming from VLC's contrib buildsystem, so far we use make -C to select only some subparts of the available targets. It would be easier and cleaner to use autoconf to do so IMHO. There's an additional patch which fixes the build when building for WinRT/UWP platform, upstreamed from VLC. We have a couple
2017 Apr 19
2
Windows Universal Platform?
Hi all, Anyone know anything about Windows Universal Platform? Someone raised an issue on github: https://github.com/xiph/flac/issues/32 The `flac_max`/`flac_min` issue is resolved, but the WUP one is not. Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
2018 Aug 18
1
[PATCH] move CreateFile() function from libFLAC
...e code that uses CreateFile_utf8(): 1) #ifdef _WIN32 ... #endif 2) #if defined _WIN32 && !defined __CYGWIN__ ... #endif 3) #if defined _MSC_VER || defined __MINGW32__ ... #endif It seems for me that the 2nd version makes more sense,so I replaced them all with it. Also this patch removes WINAPI_FAMILY_PARTITION ... CreateFile2 etc stuff from the code. The file src/share/grabbag/file.c contains non-UWP function GetFileInformationByHandle, and nobody complained, so it's OK to use non-UWP CreateFileA/CreateFileW as well. -------------- next part -------------- A non-text attachment was scrubbed... Name:...