├── dlls ├── msvcr80 │ ├── cpp.c │ ├── cxx.h │ ├── dir.c │ ├── wcs.c │ ├── ctype.c │ ├── data.c │ ├── errno.c │ ├── exit.c │ ├── file.c │ ├── heap.c │ ├── lock.c │ ├── main.c │ ├── math.c │ ├── mbcs.c │ ├── misc.c │ ├── scanf.c │ ├── time.c │ ├── console.c │ ├── environ.c │ ├── except.c │ ├── locale.c │ ├── process.c │ ├── string.c │ ├── thread.c │ ├── undname.c │ ├── cppexcept.h │ ├── scheduler.c │ ├── qemu_msvcrt.h │ └── qemu_msvcr80.spec ├── msvcr100 │ ├── cpp.c │ ├── ctype.c │ ├── cxx.h │ ├── data.c │ ├── dir.c │ ├── errno.c │ ├── exit.c │ ├── file.c │ ├── heap.c │ ├── lock.c │ ├── main.c │ ├── math.c │ ├── mbcs.c │ ├── misc.c │ ├── scanf.c │ ├── time.c │ ├── wcs.c │ ├── console.c │ ├── environ.c │ ├── except.c │ ├── locale.c │ ├── process.c │ ├── string.c │ ├── thread.c │ ├── undname.c │ ├── cppexcept.h │ ├── scheduler.c │ ├── qemu_msvcrt.h │ └── qemu_msvcr100.spec ├── ucrtbase │ ├── cpp.c │ ├── ctype.c │ ├── cxx.h │ ├── data.c │ ├── dir.c │ ├── errno.c │ ├── exit.c │ ├── file.c │ ├── heap.c │ ├── lock.c │ ├── main.c │ ├── math.c │ ├── mbcs.c │ ├── misc.c │ ├── scanf.c │ ├── time.c │ ├── wcs.c │ ├── console.c │ ├── environ.c │ ├── except.c │ ├── locale.c │ ├── process.c │ ├── string.c │ ├── thread.c │ ├── undname.c │ ├── cppexcept.h │ ├── scheduler.c │ ├── qemu_msvcrt.h │ └── qemu_ucrtbase.spec ├── opengl32 │ ├── winegl.xml │ ├── qemu_opengl32.spec │ ├── Makefile │ └── qemu_opengl32.h ├── d3d11 │ ├── qemu_d3d11.spec │ └── Makefile ├── d3d9 │ ├── qemu_d3d9.spec │ ├── d3d9.spec │ └── Makefile ├── ddraw │ ├── qemu_ddraw.spec │ ├── ddraw.spec │ └── Makefile ├── dxgi │ ├── qemu_dxgi.spec │ ├── dxgi.spec │ └── Makefile ├── gdi32 │ └── qemu_gdi32.spec ├── imm32 │ ├── qemu_imm32.spec │ └── Makefile ├── ntdll │ └── qemu_ntdll.spec ├── usp10 │ ├── qemu_usp10.spec │ └── Makefile ├── winmm │ ├── qemu_winmm.spec │ └── Makefile ├── advapi32 │ └── qemu_advapi32.spec ├── advpack │ ├── qemu_advpack.spec │ └── Makefile ├── bcrypt │ ├── qemu_bcrypt.spec │ └── Makefile ├── cabinet │ ├── qemu_cabinet.spec │ ├── cabinet.spec │ └── Makefile ├── dinput │ ├── qemu_dinput.spec │ ├── dinput.spec │ └── Makefile ├── dsound │ ├── qemu_dsound.spec │ ├── dsound.spec │ └── Makefile ├── iphlpapi │ ├── qemu_iphlpapi.spec │ └── Makefile ├── mmdevapi │ ├── qemu_mmdevapi.spec │ ├── mmdevapi.spec │ └── Makefile ├── msvcrt │ └── qemu_msvcrt.spec ├── riched32 │ ├── qemu_riched32.spec │ ├── riched32.spec │ ├── qemu_riched32.h │ └── Makefile ├── secur32 │ ├── qemu_secur32.spec │ └── Makefile ├── ws2_32 │ ├── qemu_ws2_32.spec │ └── Makefile ├── wsock32 │ ├── qemu_wsock32.spec │ └── Makefile ├── xinput1_3 │ ├── qemu_xinput1_3.spec │ ├── xinput1_3.spec │ ├── qemu_xinput1_3.h │ └── Makefile ├── windowscodecs │ ├── qemu_windowscodecs.spec │ └── windowscodecs_wincodec.idl ├── winspool.drv │ ├── qemu_winspool.drv.spec │ └── Makefile ├── user32 │ └── qemu_user32.spec ├── riched20 │ ├── qemu_riched20.spec │ ├── riched20.spec │ ├── qemu_riched20.h │ └── Makefile ├── include │ ├── thunk │ │ ├── qemu_d3d9.h │ │ ├── qemu_aclapi.h │ │ ├── qemu_rpc.h │ │ ├── qemu_d3d.h │ │ ├── qemu_windef.h │ │ ├── qemu_iphlpapi.h │ │ ├── qemu_wtypes.h │ │ ├── qemu_defines.h │ │ ├── qemu_ws2ipdef.h │ │ ├── qemu_ws2tcpip.h │ │ ├── qemu_usp10.h │ │ ├── qemu_mswsock.h │ │ ├── qemu_windows.h │ │ ├── qemu_ipexport.h │ │ ├── qemu_winsock2.h │ │ ├── qemu_wincodec.h │ │ ├── qemu_rpcdce.h │ │ ├── qemu_d3dcaps.h │ │ ├── qemu_ocidl.h │ │ ├── qemu_fdi.h │ │ └── qemu_shtypes.h │ ├── va_helper.h │ ├── user32_wrapper.h │ ├── ntdll_wrapper.h │ ├── istream_wrapper.h │ ├── dll_list.h │ └── propertybag_wrapper.h ├── crypt32 │ └── qemu_crypt32.spec └── kernel32 │ └── qemu_kernel32.spec ├── libiconv ├── po │ ├── stamp-po │ ├── af.po │ ├── da.po │ ├── et.po │ ├── ro.po │ ├── ru.po │ ├── af.gmo │ ├── bg.gmo │ ├── ca.gmo │ ├── cs.gmo │ ├── da.gmo │ ├── de.gmo │ ├── el.gmo │ ├── eo.gmo │ ├── es.gmo │ ├── et.gmo │ ├── fi.gmo │ ├── fr.gmo │ ├── ga.gmo │ ├── gl.gmo │ ├── hr.gmo │ ├── hu.gmo │ ├── id.gmo │ ├── it.gmo │ ├── ja.gmo │ ├── nl.gmo │ ├── pl.gmo │ ├── rm.gmo │ ├── ro.gmo │ ├── ru.gmo │ ├── sk.gmo │ ├── sl.gmo │ ├── sq.gmo │ ├── sr.gmo │ ├── sv.gmo │ ├── tr.gmo │ ├── uk.gmo │ ├── vi.gmo │ ├── wa.gmo │ ├── pt_BR.gmo │ ├── zh_CN.gmo │ ├── zh_TW.gmo │ ├── POTFILES.in │ ├── quot.sed │ ├── LINGUAS │ ├── boldquot.sed │ ├── remove-potcdate.sin │ ├── insert-header.sin │ ├── en@quot.header │ └── en@boldquot.header ├── AUTHORS ├── libcharset │ ├── AUTHORS │ ├── README.djgpp │ ├── DEPENDENCIES │ ├── tools │ │ ├── glibc-2.2 │ │ ├── glibc-2.1.3 │ │ ├── cygwin-1.7.2 │ │ ├── glibc-2.1.90 │ │ ├── glibc-2.2-XF86-3.3.6 │ │ ├── glibc-2.2-XF86-4.0.1f │ │ ├── locale_charmap │ │ ├── beos-5 │ │ ├── sunos-4.1.4 │ │ ├── win32 │ │ ├── locale_charset.c │ │ ├── locale_codeset.c │ │ ├── aix-3.2.5 │ │ ├── solaris-2.4 │ │ ├── all-locales │ │ ├── locale_monthnames.c │ │ ├── locale_x11encoding.c │ │ ├── README │ │ └── all-charsets-X11 │ ├── README.windows │ ├── NEWS │ ├── include │ │ ├── export.h │ │ └── localcharset.h.in │ ├── m4 │ │ ├── ltversion.m4 │ │ ├── codeset.m4 │ │ └── glibc21.m4 │ ├── HACKING │ ├── autoconf │ │ └── aclocal.m4 │ ├── lib │ │ ├── ref-del.sin │ │ └── ref-add.sin │ ├── Makefile.devel │ └── djgpp │ │ ├── Makefile.maint │ │ └── fnchange.in ├── src │ └── iconv_no_i18n.c ├── README.djgpp ├── DEPENDENCIES ├── lib │ ├── aliases_osf1.h │ ├── canonical_local.h │ ├── canonical_osf1.h │ ├── canonical_local_sysaix.h │ ├── canonical_local_syshpux.h │ ├── canonical_local_sysosf1.h │ ├── canonical_local_syssolaris.h │ ├── canonical_osf1_sysosf1.h │ ├── aliases_osf1_sysosf1.h │ ├── canonical_extra.h │ ├── aliases_extra.h │ ├── canonical_aix.h │ ├── canonical_aix_sysaix.h │ ├── aliases_aix.h │ ├── aliases_aix_sysaix.h │ ├── canonical_dos.h │ ├── loops.h │ ├── cp943.h │ ├── encodings_local.def │ ├── flushwc.h │ ├── aliases2.h │ ├── iso8859_1.h │ ├── ascii.h │ ├── ucs4internal.h │ └── encodings_osf1.def ├── srclib │ ├── c-ctype.c │ ├── unistd.c │ ├── binary-io.c │ ├── allocator.c │ ├── malloca.valgrind │ ├── xreadlink.h │ ├── Makefile.am │ ├── getprogname.h │ ├── areadlink.h │ ├── xstrdup.c │ ├── localcharset.h │ └── msvc-nothrow.c ├── include │ └── export.h ├── os2 │ └── iconv.def ├── gnulib-local │ ├── modules │ │ ├── mbstate │ │ ├── libiconv-misc │ │ └── xalloc │ ├── lib │ │ ├── progname.h.diff │ │ ├── xstrdup.c │ │ └── error.h.diff │ └── m4 │ │ └── alloca.m4 ├── build-aux │ └── snippet │ │ ├── _Noreturn.h │ │ └── arg-nonnull.h ├── srcm4 │ ├── msvc-nothrow.m4 │ ├── xsize.m4 │ ├── safe-read.m4 │ ├── off_t.m4 │ ├── dirname.m4 │ ├── malloca.m4 │ ├── msvc-inval.m4 │ ├── ssize_t.m4 │ ├── wchar_t.m4 │ ├── codeset.m4 │ ├── error.m4 │ ├── glibc2.m4 │ ├── read.m4 │ ├── intldir.m4 │ ├── sigpipe.m4 │ ├── signalblocking.m4 │ ├── glibc21.m4 │ ├── eealloc.m4 │ ├── stdint_h.m4 │ ├── raise.m4 │ ├── inttypes_h.m4 │ ├── limits-h.m4 │ ├── alloca.m4 │ ├── uintmax_t.m4 │ ├── intmax.m4 │ ├── pathmax.m4 │ ├── nls.m4 │ ├── inttypes-pri.m4 │ └── lcmessage.m4 ├── djgpp │ ├── translit-check.sed │ ├── stateful-check.sed │ ├── makefile.sed │ ├── stateless-check.sed │ └── Makefile.maint ├── preload │ ├── Makefile.devel │ └── aclocal.m4 ├── THANKS ├── m4 │ ├── ltversion.m4 │ ├── cp.m4 │ └── proto.m4 ├── woe32dll │ └── iconv-exports.c ├── man │ └── iconv_close.3 ├── windows │ └── windres-options └── tools │ └── CP50221-0208-EXT.TXT ├── .gitignore ├── .gitmodules ├── .github └── workflows │ ├── ubuntu-x86_64.yml │ ├── debian-arm64.yml │ └── debian-ppc64le.yml ├── scripts └── hangover-test.sh ├── Changelog └── Dockerfile /dlls/msvcr80/cpp.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/cpp.c -------------------------------------------------------------------------------- /dlls/msvcr80/cxx.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/cxx.h -------------------------------------------------------------------------------- /dlls/msvcr80/dir.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/dir.c -------------------------------------------------------------------------------- /dlls/msvcr80/wcs.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/wcs.c -------------------------------------------------------------------------------- /dlls/msvcr100/cpp.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/cpp.c -------------------------------------------------------------------------------- /dlls/msvcr100/ctype.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/ctype.c -------------------------------------------------------------------------------- /dlls/msvcr100/cxx.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/cxx.h -------------------------------------------------------------------------------- /dlls/msvcr100/data.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/data.c -------------------------------------------------------------------------------- /dlls/msvcr100/dir.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/dir.c -------------------------------------------------------------------------------- /dlls/msvcr100/errno.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/errno.c -------------------------------------------------------------------------------- /dlls/msvcr100/exit.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/exit.c -------------------------------------------------------------------------------- /dlls/msvcr100/file.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/file.c -------------------------------------------------------------------------------- /dlls/msvcr100/heap.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/heap.c -------------------------------------------------------------------------------- /dlls/msvcr100/lock.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/lock.c -------------------------------------------------------------------------------- /dlls/msvcr100/main.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/main.c -------------------------------------------------------------------------------- /dlls/msvcr100/math.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/math.c -------------------------------------------------------------------------------- /dlls/msvcr100/mbcs.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/mbcs.c -------------------------------------------------------------------------------- /dlls/msvcr100/misc.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/misc.c -------------------------------------------------------------------------------- /dlls/msvcr100/scanf.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/scanf.c -------------------------------------------------------------------------------- /dlls/msvcr100/time.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/time.c -------------------------------------------------------------------------------- /dlls/msvcr100/wcs.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/wcs.c -------------------------------------------------------------------------------- /dlls/msvcr80/ctype.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/ctype.c -------------------------------------------------------------------------------- /dlls/msvcr80/data.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/data.c -------------------------------------------------------------------------------- /dlls/msvcr80/errno.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/errno.c -------------------------------------------------------------------------------- /dlls/msvcr80/exit.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/exit.c -------------------------------------------------------------------------------- /dlls/msvcr80/file.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/file.c -------------------------------------------------------------------------------- /dlls/msvcr80/heap.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/heap.c -------------------------------------------------------------------------------- /dlls/msvcr80/lock.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/lock.c -------------------------------------------------------------------------------- /dlls/msvcr80/main.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/main.c -------------------------------------------------------------------------------- /dlls/msvcr80/math.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/math.c -------------------------------------------------------------------------------- /dlls/msvcr80/mbcs.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/mbcs.c -------------------------------------------------------------------------------- /dlls/msvcr80/misc.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/misc.c -------------------------------------------------------------------------------- /dlls/msvcr80/scanf.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/scanf.c -------------------------------------------------------------------------------- /dlls/msvcr80/time.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/time.c -------------------------------------------------------------------------------- /dlls/ucrtbase/cpp.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/cpp.c -------------------------------------------------------------------------------- /dlls/ucrtbase/ctype.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/ctype.c -------------------------------------------------------------------------------- /dlls/ucrtbase/cxx.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/cxx.h -------------------------------------------------------------------------------- /dlls/ucrtbase/data.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/data.c -------------------------------------------------------------------------------- /dlls/ucrtbase/dir.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/dir.c -------------------------------------------------------------------------------- /dlls/ucrtbase/errno.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/errno.c -------------------------------------------------------------------------------- /dlls/ucrtbase/exit.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/exit.c -------------------------------------------------------------------------------- /dlls/ucrtbase/file.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/file.c -------------------------------------------------------------------------------- /dlls/ucrtbase/heap.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/heap.c -------------------------------------------------------------------------------- /dlls/ucrtbase/lock.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/lock.c -------------------------------------------------------------------------------- /dlls/ucrtbase/main.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/main.c -------------------------------------------------------------------------------- /dlls/ucrtbase/math.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/math.c -------------------------------------------------------------------------------- /dlls/ucrtbase/mbcs.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/mbcs.c -------------------------------------------------------------------------------- /dlls/ucrtbase/misc.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/misc.c -------------------------------------------------------------------------------- /dlls/ucrtbase/scanf.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/scanf.c -------------------------------------------------------------------------------- /dlls/ucrtbase/time.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/time.c -------------------------------------------------------------------------------- /dlls/ucrtbase/wcs.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/wcs.c -------------------------------------------------------------------------------- /libiconv/po/stamp-po: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /dlls/msvcr100/console.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/console.c -------------------------------------------------------------------------------- /dlls/msvcr100/environ.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/environ.c -------------------------------------------------------------------------------- /dlls/msvcr100/except.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/except.c -------------------------------------------------------------------------------- /dlls/msvcr100/locale.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/locale.c -------------------------------------------------------------------------------- /dlls/msvcr100/process.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/process.c -------------------------------------------------------------------------------- /dlls/msvcr100/string.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/string.c -------------------------------------------------------------------------------- /dlls/msvcr100/thread.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/thread.c -------------------------------------------------------------------------------- /dlls/msvcr100/undname.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/undname.c -------------------------------------------------------------------------------- /dlls/msvcr80/console.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/console.c -------------------------------------------------------------------------------- /dlls/msvcr80/environ.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/environ.c -------------------------------------------------------------------------------- /dlls/msvcr80/except.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/except.c -------------------------------------------------------------------------------- /dlls/msvcr80/locale.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/locale.c -------------------------------------------------------------------------------- /dlls/msvcr80/process.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/process.c -------------------------------------------------------------------------------- /dlls/msvcr80/string.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/string.c -------------------------------------------------------------------------------- /dlls/msvcr80/thread.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/thread.c -------------------------------------------------------------------------------- /dlls/msvcr80/undname.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/undname.c -------------------------------------------------------------------------------- /dlls/ucrtbase/console.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/console.c -------------------------------------------------------------------------------- /dlls/ucrtbase/environ.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/environ.c -------------------------------------------------------------------------------- /dlls/ucrtbase/except.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/except.c -------------------------------------------------------------------------------- /dlls/ucrtbase/locale.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/locale.c -------------------------------------------------------------------------------- /dlls/ucrtbase/process.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/process.c -------------------------------------------------------------------------------- /dlls/ucrtbase/string.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/string.c -------------------------------------------------------------------------------- /dlls/ucrtbase/thread.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/thread.c -------------------------------------------------------------------------------- /dlls/ucrtbase/undname.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/undname.c -------------------------------------------------------------------------------- /dlls/msvcr100/cppexcept.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/cppexcept.h -------------------------------------------------------------------------------- /dlls/msvcr100/scheduler.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/scheduler.c -------------------------------------------------------------------------------- /dlls/msvcr80/cppexcept.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/cppexcept.h -------------------------------------------------------------------------------- /dlls/msvcr80/scheduler.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/scheduler.c -------------------------------------------------------------------------------- /dlls/ucrtbase/cppexcept.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/cppexcept.h -------------------------------------------------------------------------------- /dlls/ucrtbase/scheduler.c: -------------------------------------------------------------------------------- 1 | ../msvcrt/scheduler.c -------------------------------------------------------------------------------- /dlls/msvcr100/qemu_msvcrt.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/qemu_msvcrt.h -------------------------------------------------------------------------------- /dlls/msvcr80/qemu_msvcrt.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/qemu_msvcrt.h -------------------------------------------------------------------------------- /dlls/ucrtbase/qemu_msvcrt.h: -------------------------------------------------------------------------------- 1 | ../msvcrt/qemu_msvcrt.h -------------------------------------------------------------------------------- /libiconv/AUTHORS: -------------------------------------------------------------------------------- 1 | Bruno Haible 2 | -------------------------------------------------------------------------------- /dlls/msvcr100/qemu_msvcr100.spec: -------------------------------------------------------------------------------- 1 | ../msvcrt/qemu_msvcrt.spec -------------------------------------------------------------------------------- /dlls/msvcr80/qemu_msvcr80.spec: -------------------------------------------------------------------------------- 1 | ../msvcrt/qemu_msvcrt.spec -------------------------------------------------------------------------------- /dlls/ucrtbase/qemu_ucrtbase.spec: -------------------------------------------------------------------------------- 1 | ../msvcrt/qemu_msvcrt.spec -------------------------------------------------------------------------------- /dlls/opengl32/winegl.xml: -------------------------------------------------------------------------------- 1 | ../../wine/dlls/opengl32/winegl.xml -------------------------------------------------------------------------------- /libiconv/libcharset/AUTHORS: -------------------------------------------------------------------------------- 1 | Bruno Haible 2 | -------------------------------------------------------------------------------- /dlls/d3d11/qemu_d3d11.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/d3d9/qemu_d3d9.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/ddraw/qemu_ddraw.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/dxgi/qemu_dxgi.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/gdi32/qemu_gdi32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/imm32/qemu_imm32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/ntdll/qemu_ntdll.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/usp10/qemu_usp10.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/winmm/qemu_winmm.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/advapi32/qemu_advapi32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/advpack/qemu_advpack.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/bcrypt/qemu_bcrypt.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/cabinet/qemu_cabinet.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/dinput/qemu_dinput.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/dsound/qemu_dsound.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/iphlpapi/qemu_iphlpapi.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/mmdevapi/qemu_mmdevapi.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/msvcrt/qemu_msvcrt.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/opengl32/qemu_opengl32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/riched32/qemu_riched32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/secur32/qemu_secur32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/ws2_32/qemu_ws2_32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/wsock32/qemu_wsock32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /libiconv/src/iconv_no_i18n.c: -------------------------------------------------------------------------------- 1 | #define NO_I18N 2 | #include "iconv.c" 3 | -------------------------------------------------------------------------------- /dlls/riched32/riched32.spec: -------------------------------------------------------------------------------- 1 | 2 stdcall -private DllGetVersion (ptr) 2 | 3 | -------------------------------------------------------------------------------- /dlls/xinput1_3/qemu_xinput1_3.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/windowscodecs/qemu_windowscodecs.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /dlls/winspool.drv/qemu_winspool.drv.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | -------------------------------------------------------------------------------- /libiconv/README.djgpp: -------------------------------------------------------------------------------- 1 | Installation on DJGPP: 2 | 3 | See the file djgpp/README. 4 | -------------------------------------------------------------------------------- /libiconv/po/af.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/af.po -------------------------------------------------------------------------------- /libiconv/po/da.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/da.po -------------------------------------------------------------------------------- /libiconv/po/et.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/et.po -------------------------------------------------------------------------------- /libiconv/po/ro.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/ro.po -------------------------------------------------------------------------------- /libiconv/po/ru.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/ru.po -------------------------------------------------------------------------------- /libiconv/DEPENDENCIES: -------------------------------------------------------------------------------- 1 | No packages need to be installed before GNU libiconv is installed. 2 | -------------------------------------------------------------------------------- /libiconv/po/af.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/af.gmo -------------------------------------------------------------------------------- /libiconv/po/bg.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/bg.gmo -------------------------------------------------------------------------------- /libiconv/po/ca.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/ca.gmo -------------------------------------------------------------------------------- /libiconv/po/cs.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/cs.gmo -------------------------------------------------------------------------------- /libiconv/po/da.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/da.gmo -------------------------------------------------------------------------------- /libiconv/po/de.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/de.gmo -------------------------------------------------------------------------------- /libiconv/po/el.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/el.gmo -------------------------------------------------------------------------------- /libiconv/po/eo.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/eo.gmo -------------------------------------------------------------------------------- /libiconv/po/es.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/es.gmo -------------------------------------------------------------------------------- /libiconv/po/et.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/et.gmo -------------------------------------------------------------------------------- /libiconv/po/fi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/fi.gmo -------------------------------------------------------------------------------- /libiconv/po/fr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/fr.gmo -------------------------------------------------------------------------------- /libiconv/po/ga.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/ga.gmo -------------------------------------------------------------------------------- /libiconv/po/gl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/gl.gmo -------------------------------------------------------------------------------- /libiconv/po/hr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/hr.gmo -------------------------------------------------------------------------------- /libiconv/po/hu.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/hu.gmo -------------------------------------------------------------------------------- /libiconv/po/id.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/id.gmo -------------------------------------------------------------------------------- /libiconv/po/it.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/it.gmo -------------------------------------------------------------------------------- /libiconv/po/ja.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/ja.gmo -------------------------------------------------------------------------------- /libiconv/po/nl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/nl.gmo -------------------------------------------------------------------------------- /libiconv/po/pl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/pl.gmo -------------------------------------------------------------------------------- /libiconv/po/rm.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/rm.gmo -------------------------------------------------------------------------------- /libiconv/po/ro.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/ro.gmo -------------------------------------------------------------------------------- /libiconv/po/ru.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/ru.gmo -------------------------------------------------------------------------------- /libiconv/po/sk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/sk.gmo -------------------------------------------------------------------------------- /libiconv/po/sl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/sl.gmo -------------------------------------------------------------------------------- /libiconv/po/sq.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/sq.gmo -------------------------------------------------------------------------------- /libiconv/po/sr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/sr.gmo -------------------------------------------------------------------------------- /libiconv/po/sv.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/sv.gmo -------------------------------------------------------------------------------- /libiconv/po/tr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/tr.gmo -------------------------------------------------------------------------------- /libiconv/po/uk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/uk.gmo -------------------------------------------------------------------------------- /libiconv/po/vi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/vi.gmo -------------------------------------------------------------------------------- /libiconv/po/wa.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/wa.gmo -------------------------------------------------------------------------------- /libiconv/libcharset/README.djgpp: -------------------------------------------------------------------------------- 1 | Installation on DJGPP: 2 | 3 | See the file djgpp/README. 4 | -------------------------------------------------------------------------------- /libiconv/po/pt_BR.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/pt_BR.gmo -------------------------------------------------------------------------------- /libiconv/po/zh_CN.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/zh_CN.gmo -------------------------------------------------------------------------------- /libiconv/po/zh_TW.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/po/zh_TW.gmo -------------------------------------------------------------------------------- /dlls/windowscodecs/windowscodecs_wincodec.idl: -------------------------------------------------------------------------------- 1 | ../../wine/dlls/windowscodecs/windowscodecs_wincodec.idl -------------------------------------------------------------------------------- /libiconv/libcharset/DEPENDENCIES: -------------------------------------------------------------------------------- 1 | No packages need to be installed before GNU libcharset is installed. 2 | -------------------------------------------------------------------------------- /dlls/user32/qemu_user32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | @ stdcall qemu_user32_notify(ptr ptr) 3 | -------------------------------------------------------------------------------- /dlls/riched20/qemu_riched20.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | @ stdcall qemu_riched20_hook_old(ptr) 3 | -------------------------------------------------------------------------------- /libiconv/lib/aliases_osf1.h: -------------------------------------------------------------------------------- 1 | S(osf1_0, "DEC-KANJI", ei_dec_kanji ) 2 | S(osf1_1, "DEC-HANYU", ei_dec_hanyu ) 3 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/glibc-2.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/libcharset/tools/glibc-2.2 -------------------------------------------------------------------------------- /libiconv/srclib/c-ctype.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE 3 | #include "c-ctype.h" 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | *_h.o 3 | *_g.o 4 | *.dll 5 | *.exe 6 | *.o 7 | *.rc 8 | *.res 9 | *.bin 10 | qemu_*.dll.so 11 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/glibc-2.1.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/libcharset/tools/glibc-2.1.3 -------------------------------------------------------------------------------- /libiconv/libcharset/tools/cygwin-1.7.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/libcharset/tools/cygwin-1.7.2 -------------------------------------------------------------------------------- /libiconv/libcharset/tools/glibc-2.1.90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/libcharset/tools/glibc-2.1.90 -------------------------------------------------------------------------------- /libiconv/srclib/unistd.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE 3 | #include "unistd.h" 4 | typedef int dummy; 5 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_d3d9.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_D3D9_H 2 | #define HAVE_QEMU_D3D9_H 3 | 4 | #include "thunk/qemu_d3d9types.h" 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/glibc-2.2-XF86-3.3.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/libcharset/tools/glibc-2.2-XF86-3.3.6 -------------------------------------------------------------------------------- /libiconv/libcharset/tools/glibc-2.2-XF86-4.0.1f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foxsen/hangover/master/libiconv/libcharset/tools/glibc-2.2-XF86-4.0.1f -------------------------------------------------------------------------------- /libiconv/srclib/binary-io.c: -------------------------------------------------------------------------------- 1 | #include 2 | #define BINARY_IO_INLINE _GL_EXTERN_INLINE 3 | #include "binary-io.h" 4 | typedef int dummy; 5 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_aclapi.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_ACLAPI_H 2 | #define HAVE_QEMU_ACLAPI_H 3 | 4 | #include "thunk/qemu_accctrl.h" 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_rpc.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_RPC_H 2 | #define HAVE_QEMU_THUNK_RPC_H 3 | 4 | #include "thunk/qemu_rpcdce.h" 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/locale_charmap: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # Prints the system dependent name for the current locale's charmap. 3 | 4 | locale charmap 5 | -------------------------------------------------------------------------------- /libiconv/libcharset/README.windows: -------------------------------------------------------------------------------- 1 | Installation on Microsoft Windows: 2 | 3 | See the file README.windows in the top-level directory of this package. 4 | -------------------------------------------------------------------------------- /libiconv/po/POTFILES.in: -------------------------------------------------------------------------------- 1 | # List of files which contain translatable strings. 2 | # Copyright (C) 2002 Free Software Foundation, Inc. 3 | 4 | src/iconv.c 5 | -------------------------------------------------------------------------------- /dlls/crypt32/qemu_crypt32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | @ stdcall crypt32_CERT_CONTEXT_g2h(long) 3 | @ stdcall crypt32_CERT_CONTEXT_h2g(long) 4 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_local.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool_t *)0)->stringpool_str193, 2 | (int)(long)&((struct stringpool_t *)0)->stringpool_str496, 3 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_osf1.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool2_t *)0)->stringpool_osf1_0, 2 | (int)(long)&((struct stringpool2_t *)0)->stringpool_osf1_1, 3 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_local_sysaix.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool_t *)0)->stringpool_str15, 2 | (int)(long)&((struct stringpool_t *)0)->stringpool_str484, 3 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_local_syshpux.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool_t *)0)->stringpool_str171, 2 | (int)(long)&((struct stringpool_t *)0)->stringpool_str723, 3 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_local_sysosf1.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool_t *)0)->stringpool_str193, 2 | (int)(long)&((struct stringpool_t *)0)->stringpool_str457, 3 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_local_syssolaris.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool_t *)0)->stringpool_str112, 2 | (int)(long)&((struct stringpool_t *)0)->stringpool_str491, 3 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_osf1_sysosf1.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool2_t *)0)->stringpool_osf1_0, 2 | (int)(long)&((struct stringpool2_t *)0)->stringpool_osf1_2, 3 | -------------------------------------------------------------------------------- /libiconv/po/quot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | -------------------------------------------------------------------------------- /dlls/kernel32/qemu_kernel32.spec: -------------------------------------------------------------------------------- 1 | @ stdcall qemu_dll_register(ptr ptr) 2 | @ stdcall alloc_OVERLAPPED_data(ptr int64 long) 3 | @ stdcall process_OVERLAPPED_data(int64 ptr) 4 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/beos-5: -------------------------------------------------------------------------------- 1 | locale name locale charmap nl_langinfo(CODESET) locale_charset() 2 | 3 | C UTF-8 4 | -------------------------------------------------------------------------------- /libiconv/po/LINGUAS: -------------------------------------------------------------------------------- 1 | # Set of available languages. 2 | af bg ca cs da de el eo es et fi fr ga gl hr hu id it ja nl pl pt_BR rm ro ru sk sl sq sr sv tr uk vi wa zh_CN zh_TW 3 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_d3d.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_D3D_H 2 | #define HAVE_QEMU_THUNK_D3D_H 3 | 4 | #include "thunk/qemu_d3dtypes.h" 5 | #include "thunk/qemu_d3dcaps.h" 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_windef.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_WINDEF_H 2 | #define HAVE_QEMU_WINDEF_H 3 | 4 | #include "thunk/qemu_defines.h" 5 | 6 | #include "thunk/qemu_winnt.h" 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_iphlpapi.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_IPHLPAPI_H 2 | #define HAVE_QEMU_THUNK_IPHLPAPI_H 3 | 4 | #include "thunk/qemu_ipexport.h" 5 | #include "thunk/qemu_iptypes.h" 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /libiconv/include/export.h: -------------------------------------------------------------------------------- 1 | 2 | #if @HAVE_VISIBILITY@ && BUILDING_LIBICONV 3 | #define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default"))) 4 | #else 5 | #define LIBICONV_DLL_EXPORTED 6 | #endif 7 | -------------------------------------------------------------------------------- /libiconv/lib/aliases_osf1_sysosf1.h: -------------------------------------------------------------------------------- 1 | S(osf1_0, "DEC-KANJI", ei_dec_kanji ) 2 | S(osf1_1, "DECKANJI", ei_dec_kanji ) 3 | S(osf1_2, "DEC-HANYU", ei_dec_hanyu ) 4 | S(osf1_3, "DECHANYU", ei_dec_hanyu ) 5 | -------------------------------------------------------------------------------- /libiconv/libcharset/NEWS: -------------------------------------------------------------------------------- 1 | New in 1.4: 2 | * Tidy up the list of symbols exported from libcharset (assumes gcc >= 4.0). 3 | 4 | New in 1.2: 5 | * The include file is renamed from "libcharset.h" to "localcharset.h". 6 | -------------------------------------------------------------------------------- /libiconv/srclib/allocator.c: -------------------------------------------------------------------------------- 1 | #define _GL_USE_STDLIB_ALLOC 1 2 | #include 3 | #include "allocator.h" 4 | #include 5 | struct allocator const stdlib_allocator = { malloc, realloc, free, NULL }; 6 | -------------------------------------------------------------------------------- /libiconv/libcharset/include/export.h: -------------------------------------------------------------------------------- 1 | 2 | #if @HAVE_VISIBILITY@ && BUILDING_LIBCHARSET 3 | #define LIBCHARSET_DLL_EXPORTED __attribute__((__visibility__("default"))) 4 | #else 5 | #define LIBCHARSET_DLL_EXPORTED 6 | #endif 7 | -------------------------------------------------------------------------------- /libiconv/srclib/malloca.valgrind: -------------------------------------------------------------------------------- 1 | # Suppress a valgrind message about use of uninitialized memory in freea(). 2 | # This use is OK because it provides only a speedup. 3 | { 4 | freea 5 | Memcheck:Cond 6 | fun:freea 7 | } 8 | -------------------------------------------------------------------------------- /libiconv/os2/iconv.def: -------------------------------------------------------------------------------- 1 | ; iconv.def (emx+gcc) 2 | LIBRARY ICONV 3 | DESCRIPTION 'OS/2 port of libiconv ' 4 | EXPORTS 5 | libiconv_open @1 6 | libiconv @2 7 | libiconv_close @3 8 | libiconvctl @4 9 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/sunos-4.1.4: -------------------------------------------------------------------------------- 1 | locale_charset.c: 2 | ../../lib/localcharset.c: 3 | locale name locale charmap nl_langinfo(CODESET) locale_charset() 4 | 5 | C bug 6 | -------------------------------------------------------------------------------- /libiconv/po/boldquot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | s/“/“/g 8 | s/”/”/g 9 | s/‘/‘/g 10 | s/’/’/g 11 | -------------------------------------------------------------------------------- /dlls/dxgi/dxgi.spec: -------------------------------------------------------------------------------- 1 | @ stdcall CreateDXGIFactory(ptr ptr) 2 | @ stdcall CreateDXGIFactory1(ptr ptr) 3 | @ stdcall CreateDXGIFactory2(long ptr ptr) 4 | @ stdcall DXGID3D10CreateDevice(ptr ptr ptr long ptr long ptr) 5 | @ stdcall DXGID3D10RegisterLayers(ptr long) 6 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/win32: -------------------------------------------------------------------------------- 1 | Documentation mentions: 2 | CP874 3 | CP932 4 | CP936 5 | CP949 6 | CP950 7 | CP1200 - Unicode - UCS-2 or UTF-8 ? 8 | CP1250 9 | CP1251 10 | CP1252 11 | CP1253 12 | CP1254 13 | CP1255 14 | CP1256 15 | CP1257 16 | CP1361 17 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_wtypes.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_WTYPES_H 2 | #define HAVE_QEMU_THUNK_WTYPES_H 3 | 4 | #include "thunk/qemu_rpc.h" 5 | #include "thunk/qemu_windows.h" 6 | 7 | struct qemu_BLOB 8 | { 9 | ULONG cbSize; 10 | qemu_ptr pBlobData; 11 | }; 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /libiconv/gnulib-local/modules/mbstate: -------------------------------------------------------------------------------- 1 | Description: 2 | mbstate_t type. 3 | 4 | Files: 5 | m4/mbstate_t.m4 6 | 7 | Depends-on: 8 | 9 | configure.ac: 10 | AC_TYPE_MBSTATE_T 11 | 12 | Makefile.am: 13 | 14 | Include: 15 | 16 | License: 17 | LGPL 18 | 19 | Maintainer: 20 | Bruno Haible 21 | 22 | -------------------------------------------------------------------------------- /dlls/riched32/qemu_riched32.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_RICHED32_H 2 | #define QEMU_RICHED32_H 3 | 4 | enum riched32_calls 5 | { 6 | CALL_DLLGETVERSION = 0, 7 | CALL_INIT_DLL, 8 | }; 9 | 10 | #ifdef QEMU_DLL_GUEST 11 | 12 | #else 13 | 14 | extern const struct qemu_ops *qemu_ops; 15 | 16 | #endif 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/locale_charset.c: -------------------------------------------------------------------------------- 1 | /* Prints the portable name for the current locale's charset. */ 2 | 3 | #include 4 | #include 5 | #include 6 | #include "localcharset.h" 7 | 8 | int main () 9 | { 10 | setlocale(LC_ALL, ""); 11 | printf("%s\n", locale_charset()); 12 | exit(0); 13 | } 14 | -------------------------------------------------------------------------------- /dlls/dinput/dinput.spec: -------------------------------------------------------------------------------- 1 | @ stdcall DirectInputCreateA(long long ptr ptr) 2 | @ stdcall DirectInputCreateEx(long long ptr ptr ptr) 3 | @ stdcall DirectInputCreateW(long long ptr ptr) 4 | @ stdcall -private DllCanUnloadNow() 5 | @ stdcall -private DllGetClassObject(ptr ptr ptr) 6 | @ stdcall -private DllRegisterServer() 7 | @ stdcall -private DllUnregisterServer() 8 | -------------------------------------------------------------------------------- /libiconv/gnulib-local/modules/libiconv-misc: -------------------------------------------------------------------------------- 1 | Description: 2 | 3 | Files: 4 | 5 | Depends-on: 6 | 7 | configure.ac: 8 | 9 | Makefile.am: 10 | # Parametrization of the 'relocatable' module. 11 | AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 12 | 13 | Include: 14 | 15 | License: 16 | GPL 17 | 18 | Maintainer: 19 | Bruno Haible 20 | 21 | -------------------------------------------------------------------------------- /dlls/riched20/riched20.spec: -------------------------------------------------------------------------------- 1 | 2 extern IID_IRichEditOle 2 | 3 extern IID_IRichEditOleCallback 3 | 4 stdcall CreateTextServices(ptr ptr ptr) 4 | 5 extern IID_ITextServices 5 | 6 extern IID_ITextHost 6 | 7 extern IID_ITextHost2 7 | 8 stdcall REExtendedRegisterClass() 8 | 9 stdcall RichEdit10ANSIWndProc(ptr long long long) 9 | 10 stdcall RichEditANSIWndProc(ptr long long long) 10 | -------------------------------------------------------------------------------- /libiconv/build-aux/snippet/_Noreturn.h: -------------------------------------------------------------------------------- 1 | #if !defined _Noreturn && __STDC_VERSION__ < 201112 2 | # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ 3 | || 0x5110 <= __SUNPRO_C) 4 | # define _Noreturn __attribute__ ((__noreturn__)) 5 | # elif 1200 <= _MSC_VER 6 | # define _Noreturn __declspec (noreturn) 7 | # else 8 | # define _Noreturn 9 | # endif 10 | #endif 11 | -------------------------------------------------------------------------------- /libiconv/gnulib-local/modules/xalloc: -------------------------------------------------------------------------------- 1 | Description: 2 | Memory allocation with out-of-memory checking. 3 | 4 | Files: 5 | lib/xalloc.h 6 | lib/xmalloc.c 7 | lib/xstrdup.c 8 | 9 | Depends-on: 10 | 11 | configure.ac: 12 | 13 | Makefile.am: 14 | lib_SOURCES += xalloc.h xmalloc.c xstrdup.c 15 | 16 | Include: 17 | "xalloc.h" 18 | 19 | License: 20 | GPL 21 | 22 | Maintainer: 23 | all 24 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/locale_codeset.c: -------------------------------------------------------------------------------- 1 | /* Prints the system dependent name for the current locale's codeset. */ 2 | 3 | #define _XOPEN_SOURCE 500 /* Needed on AIX 3.2.5 */ 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | int main () 11 | { 12 | setlocale(LC_ALL, ""); 13 | printf("%s\n", nl_langinfo(CODESET)); 14 | exit(0); 15 | } 16 | -------------------------------------------------------------------------------- /libiconv/srcm4/msvc-nothrow.m4: -------------------------------------------------------------------------------- 1 | # msvc-nothrow.m4 serial 1 2 | dnl Copyright (C) 2011-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_MSVC_NOTHROW], 8 | [ 9 | AC_REQUIRE([gl_MSVC_INVAL]) 10 | ]) 11 | -------------------------------------------------------------------------------- /dlls/mmdevapi/mmdevapi.spec: -------------------------------------------------------------------------------- 1 | 2 stub @ 2 | 3 stub @ 3 | 4 stub @ 4 | 5 stub @ 5 | 6 stub @ 6 | 7 stub @ 7 | 8 stub @ 8 | 9 stub @ 9 | 10 stub @ 10 | 11 stub @ 11 | 12 stub @ 12 | 13 stub @ 13 | 14 stub @ 14 | 15 stub @ 15 | 16 | @ stdcall -private DllCanUnloadNow() 17 | @ stdcall -private DllGetClassObject( ptr ptr ptr ) 18 | @ stdcall -private DllRegisterServer() 19 | @ stdcall -private DllUnregisterServer() 20 | -------------------------------------------------------------------------------- /libiconv/djgpp/translit-check.sed: -------------------------------------------------------------------------------- 1 | # Sed script for tests/translit-check editing. 2 | 3 | /\.\./ i\ 4 | # For systems with severe filename restrictions allow for\ 5 | # an alternate filename.\ 6 | UNAME=${UNAME-`uname 2>/dev/null`}\ 7 | case X$UNAME in\ 8 | *-DOS) file=`echo "$file" | sed "s|TranslitFail1|_Translit/Fail1|; \\\ 9 | s|Translit1|_Translit/1|"`;;\ 10 | *) file="$file" ;;\ 11 | esac 12 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/aix-3.2.5: -------------------------------------------------------------------------------- 1 | locale_charset.c: 2 | ../../lib/localcharset.c: 3 | locale name locale charmap nl_langinfo(CODESET) locale_charset() 4 | 5 | En_US.IBM-850 IBM-850 IBM-850 CP850 6 | Fr_FR.IBM-850 IBM-850 IBM-850 CP850 7 | en_US.ISO8859-1 ISO8859-1 ISO8859-1 ISO-8859-1 8 | fr_FR.ISO8859-1 ISO8859-1 ISO8859-1 ISO-8859-1 9 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_defines.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_DEFINES_H 2 | #define HAVE_QEMU_DEFINES_H 3 | 4 | #include 5 | 6 | typedef DWORD qemu_ptr, qemu_handle; 7 | typedef INT qemu_sptr; 8 | typedef DWORD qemu_size_t; 9 | 10 | static inline HANDLE HANDLE_g2h(qemu_handle h) 11 | { 12 | if (h == (qemu_handle)(LONG_PTR)INVALID_HANDLE_VALUE) 13 | return INVALID_HANDLE_VALUE; 14 | 15 | return (HANDLE)(LONG_PTR)h; 16 | } 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /dlls/xinput1_3/xinput1_3.spec: -------------------------------------------------------------------------------- 1 | 1 stdcall -private DllMain(long long ptr) 2 | 2 stdcall XInputGetState(long ptr) 3 | 3 stdcall XInputSetState(long ptr) 4 | 4 stdcall XInputGetCapabilities(long long ptr) 5 | 5 stdcall XInputEnable(long) 6 | 6 stdcall XInputGetDSoundAudioDeviceGuids(long ptr ptr) 7 | 7 stdcall XInputGetBatteryInformation(long long ptr) 8 | 8 stdcall XInputGetKeystroke(long long ptr) 9 | 100 stdcall XInputGetStateEx(long ptr) xinput_XInputGetStateEx 10 | -------------------------------------------------------------------------------- /libiconv/djgpp/stateful-check.sed: -------------------------------------------------------------------------------- 1 | # Sed script for tests/stateful-check editing. 2 | 3 | /charsetf=/ a\ 4 | \ 5 | # For systems with severe filename restrictions allow for\ 6 | # an alternate filename.\ 7 | UNAME=${UNAME-`uname 2>/dev/null`}\ 8 | case X$UNAME in\ 9 | *-DOS) filename=`echo "$charsetf" | sed "s|ISO-|ISO/|;s|2022-|2022|;s|BIG5-HKSCS-|BIG5-HKSCS/|"` ;;\ 10 | *) filename="$charsetf" ;;\ 11 | esac 12 | s/\$charsetf"-snippet/$filename"-snippet/g 13 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "wine"] 2 | path = wine 3 | url = https://github.com/AndreRH/wine.git 4 | [submodule "qemu"] 5 | path = qemu 6 | url = https://github.com/AndreRH/qemu.git 7 | [submodule "libxml2"] 8 | path = libxml2 9 | url = https://gitlab.gnome.org/GNOME/libxml2.git 10 | [submodule "libxslt"] 11 | path = libxslt 12 | url = https://gitlab.gnome.org/GNOME/libxslt.git 13 | [submodule "libffi"] 14 | path = libffi 15 | url = https://github.com/libffi/libffi 16 | -------------------------------------------------------------------------------- /libiconv/srcm4/xsize.m4: -------------------------------------------------------------------------------- 1 | # xsize.m4 serial 5 2 | dnl Copyright (C) 2003-2004, 2008-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XSIZE], 8 | [ 9 | dnl Prerequisites of lib/xsize.h. 10 | AC_REQUIRE([gl_SIZE_MAX]) 11 | AC_CHECK_HEADERS([stdint.h]) 12 | ]) 13 | -------------------------------------------------------------------------------- /libiconv/srcm4/safe-read.m4: -------------------------------------------------------------------------------- 1 | # safe-read.m4 serial 6 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2017 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | # Prerequisites of lib/safe-read.c. 9 | AC_DEFUN([gl_PREREQ_SAFE_READ], 10 | [ 11 | AC_REQUIRE([gt_TYPE_SSIZE_T]) 12 | ]) 13 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_extra.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_0, 2 | (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_2, 3 | (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_4, 4 | (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_6, 5 | (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_7, 6 | (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_9, 7 | (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_11, 8 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_ws2ipdef.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_WS2IPDEF_H 2 | #define HAVE_QEMU_WS2IPDEF_H 3 | 4 | struct qemu_SOCKADDR_IN6_PAIR 5 | { 6 | qemu_ptr SourceAddress; 7 | qemu_ptr DestinationAddress; 8 | }; 9 | 10 | static inline void SOCKADDR_IN6_PAIR_h2g(struct qemu_SOCKADDR_IN6_PAIR *guest, const SOCKADDR_IN6_PAIR *host) 11 | { 12 | guest->SourceAddress = (ULONG_PTR)host->SourceAddress; 13 | guest->DestinationAddress = (ULONG_PTR)host->DestinationAddress; 14 | } 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /dlls/include/va_helper.h: -------------------------------------------------------------------------------- 1 | #ifndef VA_HELPER_H 2 | #define VA_HELPER_H 3 | 4 | struct va_array 5 | { 6 | uint64_t is_float; 7 | uint64_t arg; 8 | }; 9 | 10 | extern uint64_t WINAPIV call_va(uint64_t (* WINAPIV func)(void *ctx, ...), void *ctx, unsigned int icount, 11 | struct va_array *array); 12 | extern uint64_t WINAPIV call_va2(uint64_t (* WINAPIV func)(void *fixed1, void *fixed2, ...), void *fixed1, void *fixed2, 13 | unsigned int icount, struct va_array *array); 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /dlls/d3d9/d3d9.spec: -------------------------------------------------------------------------------- 1 | @ stdcall Direct3DShaderValidatorCreate9() 2 | @ stub PSGPError 3 | @ stub PSGPSampleTexture 4 | @ stdcall D3DPERF_BeginEvent(long wstr) 5 | @ stdcall D3DPERF_EndEvent() 6 | @ stdcall D3DPERF_GetStatus() 7 | @ stdcall D3DPERF_QueryRepeatFrame() 8 | @ stdcall D3DPERF_SetMarker(long wstr) 9 | @ stdcall D3DPERF_SetOptions(long) 10 | @ stdcall D3DPERF_SetRegion(long wstr) 11 | @ stub DebugSetLevel 12 | @ stdcall DebugSetMute() 13 | @ stdcall Direct3DCreate9(long) 14 | @ stdcall Direct3DCreate9Ex(long ptr) 15 | -------------------------------------------------------------------------------- /libiconv/po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /.github/workflows/ubuntu-x86_64.yml: -------------------------------------------------------------------------------- 1 | name: ubuntu-x86_64 2 | 3 | on: 4 | push: 5 | 6 | jobs: 7 | build: 8 | runs-on: ubuntu-latest 9 | 10 | steps: 11 | - uses: actions/checkout@v1 12 | with: 13 | submodules: true 14 | - name: free disk space 15 | run: | 16 | sudo swapoff -a 17 | sudo rm -f /swapfile 18 | sudo apt clean 19 | docker rmi $(docker image ls -aq) 20 | df -h 21 | - name: build image 22 | run: docker build -f Dockerfile -t hangover-ubuntu-build . 23 | -------------------------------------------------------------------------------- /.github/workflows/debian-arm64.yml: -------------------------------------------------------------------------------- 1 | name: debian-arm64 2 | 3 | on: 4 | push: 5 | 6 | jobs: 7 | build: 8 | runs-on: ubuntu-latest 9 | 10 | steps: 11 | - uses: actions/checkout@v1 12 | with: 13 | submodules: true 14 | - name: free disk space 15 | run: | 16 | sudo swapoff -a 17 | sudo rm -f /swapfile 18 | sudo apt clean 19 | docker rmi $(docker image ls -aq) 20 | df -h 21 | - name: build image 22 | run: docker build -f Dockerfile.cross_arm64 -t hangover-debian-arm64-build . 23 | -------------------------------------------------------------------------------- /.github/workflows/debian-ppc64le.yml: -------------------------------------------------------------------------------- 1 | name: debian-ppc64le 2 | 3 | on: 4 | push: 5 | 6 | jobs: 7 | build: 8 | runs-on: ubuntu-latest 9 | 10 | steps: 11 | - uses: actions/checkout@v1 12 | with: 13 | submodules: true 14 | - name: free disk space 15 | run: | 16 | sudo swapoff -a 17 | sudo rm -f /swapfile 18 | sudo apt clean 19 | docker rmi $(docker image ls -aq) 20 | df -h 21 | - name: build image 22 | run: docker build -f Dockerfile.cross_ppc64le -t hangover-debian-ppc64le-build . 23 | -------------------------------------------------------------------------------- /libiconv/preload/Makefile.devel: -------------------------------------------------------------------------------- 1 | # This is the developer's makefile, not the user's makefile. 2 | # Don't use it unless you know exactly what you do! 3 | 4 | SHELL = /bin/sh 5 | MAKE = make 6 | AUTOCONF = autoconf-2.69 7 | ACLOCAL = aclocal-1.15 8 | CP = cp 9 | RM = rm -f 10 | 11 | all : configures 12 | 13 | aclocal.m4 : $(wildcard ../m4/*.m4) 14 | $(ACLOCAL) -I ../m4 -I ../srcm4 --output=$@ 15 | 16 | configures : configure 17 | 18 | configure : configure.ac aclocal.m4 19 | $(AUTOCONF) 20 | 21 | totally-clean : all 22 | rm -f aclocal.m4 configure 23 | 24 | force : 25 | -------------------------------------------------------------------------------- /libiconv/THANKS: -------------------------------------------------------------------------------- 1 | Thanks to for 2 | 3 | Edmund Grimley Evans bug reports 4 | 5 | Taro Muraoka Woe32 DLL support 6 | 7 | Akira Hatakeyama OS/2 support 8 | 9 | Juan Manuel Guerrero 10 | DOS/DJGPP support 11 | 12 | Hironori Sakamoto advice on EUC-JP and JISX0213 13 | 14 | Ken Lunde detailed information about GB18030 15 | 16 | -------------------------------------------------------------------------------- /libiconv/lib/aliases_extra.h: -------------------------------------------------------------------------------- 1 | S(extra_0, "EUC-JISX0213", ei_euc_jisx0213 ) 2 | S(extra_1, "EUC-JIS-2004", ei_euc_jisx0213 ) 3 | S(extra_2, "SHIFT_JISX0213", ei_shift_jisx0213 ) 4 | S(extra_3, "SHIFT_JIS-2004", ei_shift_jisx0213 ) 5 | S(extra_4, "ISO-2022-JP-3", ei_iso2022_jp3 ) 6 | S(extra_5, "ISO-2022-JP-2004", ei_iso2022_jp3 ) 7 | S(extra_6, "BIG5-2003", ei_big5_2003 ) 8 | S(extra_7, "TDS565", ei_tds565 ) 9 | S(extra_8, "ISO-IR-230", ei_tds565 ) 10 | S(extra_9, "ATARIST", ei_atarist ) 11 | S(extra_10, "ATARI", ei_atarist ) 12 | S(extra_11, "RISCOS-LATIN1", ei_riscos1 ) 13 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_ws2tcpip.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_WS2TCPIP_H 2 | #define HAVE_QEMU_WS2TCPIP_H 3 | 4 | #include "thunk/qemu_ws2ipdef.h" 5 | 6 | struct qemu_WS_addrinfo 7 | { 8 | int ai_flags; 9 | int ai_family; 10 | int ai_socktype; 11 | int ai_protocol; 12 | qemu_ptr ai_addrlen; 13 | qemu_ptr ai_canonname; 14 | qemu_ptr ai_addr; 15 | qemu_ptr ai_next; 16 | }; 17 | 18 | /* No conv functions, converting the list is a bit more complicated. */ 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_aix.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_0, 2 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_1, 3 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_2, 4 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_3, 5 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_4, 6 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_5, 7 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_6, 8 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_10, 9 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_14, 10 | -------------------------------------------------------------------------------- /libiconv/srcm4/off_t.m4: -------------------------------------------------------------------------------- 1 | # off_t.m4 serial 1 2 | dnl Copyright (C) 2012-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl Check whether to override the 'off_t' type. 8 | dnl Set WINDOWS_64_BIT_OFF_T. 9 | 10 | AC_DEFUN([gl_TYPE_OFF_T], 11 | [ 12 | m4_ifdef([gl_LARGEFILE], [ 13 | AC_REQUIRE([gl_LARGEFILE]) 14 | ], [ 15 | WINDOWS_64_BIT_OFF_T=0 16 | ]) 17 | AC_SUBST([WINDOWS_64_BIT_OFF_T]) 18 | ]) 19 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_usp10.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_USP10_H 2 | #define HAVE_QEMU_THUNK_USP10_H 3 | 4 | #include "thunk/qemu_windows.h" 5 | 6 | struct qemu_SCRIPT_TABDEF 7 | { 8 | int cTabStops; 9 | int iScale; 10 | qemu_ptr *pTabStops; 11 | int iTabOrigin; 12 | }; 13 | 14 | static inline void SCRIPT_TABDEF_g2h(SCRIPT_TABDEF *host, const struct qemu_SCRIPT_TABDEF *guest) 15 | { 16 | host->cTabStops = guest->cTabStops; 17 | host->iScale = guest->iScale; 18 | host->pTabStops = (int *)(ULONG_PTR)guest->pTabStops; 19 | host->iTabOrigin = guest->iTabOrigin; 20 | } 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_aix_sysaix.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_0, 2 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_2, 3 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_4, 4 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_6, 5 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_8, 6 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_10, 7 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_12, 8 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_16, 9 | (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_20, 10 | -------------------------------------------------------------------------------- /dlls/cabinet/cabinet.spec: -------------------------------------------------------------------------------- 1 | 1 stub GetDllVersion 2 | 2 stdcall -private DllGetVersion (ptr) 3 | 3 stdcall Extract(ptr str) 4 | 4 stub DeleteExtractedFiles 5 | 10 cdecl FCICreate(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) 6 | 11 cdecl FCIAddFile(long ptr ptr long ptr ptr ptr long) 7 | 12 cdecl FCIFlushFolder(long ptr ptr) 8 | 13 cdecl FCIFlushCabinet(long long ptr ptr) 9 | 14 cdecl FCIDestroy(long) 10 | 20 cdecl FDICreate(ptr ptr ptr ptr ptr ptr ptr long ptr) 11 | 21 cdecl FDIIsCabinet(long long ptr) 12 | 22 cdecl FDICopy(long ptr ptr long ptr ptr ptr) 13 | 23 cdecl FDIDestroy(long) 14 | 24 cdecl FDITruncateCabinet(long ptr long) 15 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_mswsock.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_MSWSOCK_H 2 | #define HAVE_QEMU_MSWSOCK_H 3 | 4 | struct qemu_TRANSMIT_FILE_BUFFERS 5 | { 6 | qemu_ptr Head; 7 | DWORD HeadLength; 8 | qemu_ptr Tail; 9 | DWORD TailLength; 10 | }; 11 | 12 | static inline void TRANSMIT_FILE_BUFFERS_g2h(TRANSMIT_FILE_BUFFERS *host, 13 | const struct qemu_TRANSMIT_FILE_BUFFERS *guest) 14 | { 15 | host->Head = (void *)(ULONG_PTR)guest->Head; 16 | host->HeadLength = guest->HeadLength; 17 | host->Tail = (void *)(ULONG_PTR)guest->Tail; 18 | host->TailLength = guest->TailLength; 19 | } 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /scripts/hangover-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # This script is supposed to be used via $WINETEST_WRAPPER when running "make test" out of the guest 4 | # Wine tree. Use like this: 5 | # 6 | # cd build/wine-guest32 7 | # WINETEST_WRAPPER=/path/to/hangover/hangover-test.sh make test 8 | 9 | # We receive arguments like ../../../wine ddraw_test.exe d3d. Throw away Wine and replace it with 10 | # invoking qemu inside Wine instead. 11 | 12 | my_dir="$(dirname "$0")" # Nicked from stackoverflow. Not sure if it is really reliable 13 | 14 | shift 15 | $my_dir/../build/wine-host/wine64 $my_dir/../build/qemu/x86_64-windows-user/qemu-x86_64.exe.so $@ 16 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_windows.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_WINDOWS_H 2 | #define HAVE_QEMU_WINDOWS_H 3 | 4 | #include "thunk/qemu_defines.h" 5 | 6 | #include "thunk/qemu_windef.h" 7 | #include "thunk/qemu_winbase.h" 8 | #include "thunk/qemu_wingdi.h" 9 | #include "thunk/qemu_winuser.h" 10 | #include "thunk/qemu_winspool.h" 11 | #include "thunk/qemu_commdlg.h" 12 | #include "thunk/qemu_winnls.h" 13 | 14 | #include "thunk/qemu_rpc.h" 15 | 16 | #include "thunk/qemu_mmsystem.h" 17 | 18 | #include "thunk/qemu_winsock.h" 19 | #include "thunk/qemu_wincrypt.h" 20 | 21 | #include "thunk/qemu_shellapi.h" 22 | 23 | #include "thunk/qemu_winsvc.h" 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /libiconv/srcm4/dirname.m4: -------------------------------------------------------------------------------- 1 | #serial 10 -*- autoconf -*- 2 | dnl Copyright (C) 2002-2006, 2009-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_DIRNAME], 8 | [ 9 | AC_REQUIRE([gl_DIRNAME_LGPL]) 10 | ]) 11 | 12 | AC_DEFUN([gl_DIRNAME_LGPL], 13 | [ 14 | dnl Prerequisites of lib/dirname.h. 15 | AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) 16 | 17 | dnl No prerequisites of lib/basename-lgpl.c, lib/dirname-lgpl.c, 18 | dnl lib/stripslash.c. 19 | ]) 20 | -------------------------------------------------------------------------------- /libiconv/srcm4/malloca.m4: -------------------------------------------------------------------------------- 1 | # malloca.m4 serial 1 2 | dnl Copyright (C) 2003-2004, 2006-2007, 2009-2017 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_MALLOCA], 9 | [ 10 | dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables 11 | dnl @ALLOCA@ and @LTALLOCA@. 12 | dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies. 13 | AC_REQUIRE([gl_EEMALLOC]) 14 | AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) 15 | ]) 16 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_ipexport.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_IPEXPORT_H 2 | #define HAVE_QEMU_THUNK_IPEXPORT_H 3 | 4 | struct qemu_IP_OPTION_INFORMATION 5 | { 6 | unsigned char Ttl; 7 | unsigned char Tos; 8 | unsigned char Flags; 9 | unsigned char OptionsSize; 10 | qemu_ptr OptionsData; 11 | }; 12 | 13 | static inline void IP_OPTION_INFORMATION_g2h(IP_OPTION_INFORMATION *host, const struct qemu_IP_OPTION_INFORMATION *guest) 14 | { 15 | host->Ttl = guest->Ttl; 16 | host->Tos = guest->Tos; 17 | host->Flags = guest->Flags; 18 | host->OptionsSize = guest->OptionsSize; 19 | host->OptionsData = (char *)(ULONG_PTR)guest->OptionsData; 20 | } 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /libiconv/gnulib-local/lib/progname.h.diff: -------------------------------------------------------------------------------- 1 | *** gnulib/lib/progname.h 2005-05-14 08:03:58.000000000 +0200 2 | --- srclib/progname.h 2005-05-20 23:06:02.000000000 +0200 3 | *************** 4 | *** 30,36 **** 5 | 6 | 7 | /* String containing name the program is called with. */ 8 | ! extern const char *program_name; 9 | 10 | /* Set program_name, based on argv[0]. */ 11 | extern void set_program_name (const char *argv0); 12 | --- 30,36 ---- 13 | 14 | 15 | /* String containing name the program is called with. */ 16 | ! extern DLL_VARIABLE const char *program_name; 17 | 18 | /* Set program_name, based on argv[0]. */ 19 | extern void set_program_name (const char *argv0); 20 | -------------------------------------------------------------------------------- /libiconv/lib/aliases_aix.h: -------------------------------------------------------------------------------- 1 | S(aix_0, "CP856", ei_cp856 ) 2 | S(aix_1, "CP922", ei_cp922 ) 3 | S(aix_2, "CP943", ei_cp943 ) 4 | S(aix_3, "CP1046", ei_cp1046 ) 5 | S(aix_4, "CP1124", ei_cp1124 ) 6 | S(aix_5, "CP1129", ei_cp1129 ) 7 | S(aix_6, "CP1161", ei_cp1161 ) 8 | S(aix_7, "IBM1161", ei_cp1161 ) 9 | S(aix_8, "IBM-1161", ei_cp1161 ) 10 | S(aix_9, "CSIBM1161", ei_cp1161 ) 11 | S(aix_10, "CP1162", ei_cp1162 ) 12 | S(aix_11, "IBM1162", ei_cp1162 ) 13 | S(aix_12, "IBM-1162", ei_cp1162 ) 14 | S(aix_13, "CSIBM1162", ei_cp1162 ) 15 | S(aix_14, "CP1163", ei_cp1163 ) 16 | S(aix_15, "IBM1163", ei_cp1163 ) 17 | S(aix_16, "IBM-1163", ei_cp1163 ) 18 | S(aix_17, "CSIBM1163", ei_cp1163 ) 19 | -------------------------------------------------------------------------------- /dlls/dsound/dsound.spec: -------------------------------------------------------------------------------- 1 | 1 stdcall DirectSoundCreate(ptr ptr ptr) 2 | 2 stdcall DirectSoundEnumerateA(ptr ptr) 3 | 3 stdcall DirectSoundEnumerateW(ptr ptr) 4 | 6 stdcall DirectSoundCaptureCreate(ptr ptr ptr) 5 | 7 stdcall DirectSoundCaptureEnumerateA(ptr ptr) 6 | 8 stdcall DirectSoundCaptureEnumerateW(ptr ptr) 7 | 9 stdcall GetDeviceID(ptr ptr) 8 | 10 stdcall DirectSoundFullDuplexCreate(ptr ptr ptr ptr long long ptr ptr ptr ptr) 9 | 11 stdcall DirectSoundCreate8(ptr ptr ptr) 10 | 12 stdcall DirectSoundCaptureCreate8(ptr ptr ptr) 11 | @ stdcall -private DllCanUnloadNow() 12 | @ stdcall -private DllGetClassObject(ptr ptr ptr) 13 | @ stdcall -private DllRegisterServer() 14 | @ stdcall -private DllUnregisterServer() 15 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_winsock2.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_WINSOCK2_H 2 | #define HAVE_QEMU_WINSOCK2_H 3 | 4 | #include "thunk/qemu_ws2def.h" 5 | 6 | struct qemu_WSAPOLLFD 7 | { 8 | qemu_ptr fd; 9 | SHORT events; 10 | SHORT revents; 11 | }; 12 | 13 | static inline void WSAPOLLFD_g2h(WSAPOLLFD *host, const struct qemu_WSAPOLLFD *guest) 14 | { 15 | host->fd = guest->fd; 16 | host->events = guest->events; 17 | host->revents = guest->revents; 18 | } 19 | 20 | static inline void WSAPOLLFD_h2g(struct qemu_WSAPOLLFD *guest, const WSAPOLLFD *host) 21 | { 22 | guest->fd = host->fd; 23 | guest->events = host->events; 24 | guest->revents = host->revents; 25 | } 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_wincodec.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_WINCODEC_H 2 | #define HAVE_QEMU_THUNK_WINCODEC_H 3 | 4 | #include "thunk/qemu_ocidl.h" 5 | #include "thunk/qemu_wtypes.h" 6 | #include "thunk/qemu_propidl.h" 7 | 8 | struct qemu_WICBitmapPattern 9 | { 10 | ULARGE_INTEGER Position; 11 | ULONG Length; 12 | qemu_ptr Pattern; 13 | qemu_ptr Mask; 14 | BOOL EndOfStream; 15 | }; 16 | 17 | static inline void WICBitmapPattern_h2g(struct qemu_WICBitmapPattern *guest, const WICBitmapPattern *host) 18 | { 19 | guest->Position = host->Position; 20 | guest->Length = host->Length; 21 | guest->Pattern = (ULONG_PTR)host->Pattern; 22 | guest->Mask = (ULONG_PTR)host->Mask; 23 | guest->EndOfStream = host->EndOfStream; 24 | } 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /libiconv/po/insert-header.sin: -------------------------------------------------------------------------------- 1 | # Sed script that inserts the file called HEADER before the header entry. 2 | # 3 | # At each occurrence of a line starting with "msgid ", we execute the following 4 | # commands. At the first occurrence, insert the file. At the following 5 | # occurrences, do nothing. The distinction between the first and the following 6 | # occurrences is achieved by looking at the hold space. 7 | /^msgid /{ 8 | x 9 | # Test if the hold space is empty. 10 | s/m/m/ 11 | ta 12 | # Yes it was empty. First occurrence. Read the file. 13 | r HEADER 14 | # Output the file's contents by reading the next line. But don't lose the 15 | # current line while doing this. 16 | g 17 | N 18 | bb 19 | :a 20 | # The hold space was nonempty. Following occurrences. Do nothing. 21 | x 22 | :b 23 | } 24 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/solaris-2.4: -------------------------------------------------------------------------------- 1 | locale name locale charmap nl_langinfo(CODESET) locale_charset() 2 | 3 | C bug 4 | POSIX bug 5 | de bug 6 | en_US bug 7 | es bug 8 | fr bug 9 | iso_8859_1 bug 10 | it bug 11 | sv bug 12 | -------------------------------------------------------------------------------- /libiconv/m4/ltversion.m4: -------------------------------------------------------------------------------- 1 | # ltversion.m4 -- version numbers -*- Autoconf -*- 2 | # 3 | # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. 4 | # Written by Scott James Remnant, 2004 5 | # 6 | # This file is free software; the Free Software Foundation gives 7 | # unlimited permission to copy and/or distribute it, with or without 8 | # modifications, as long as this notice is preserved. 9 | 10 | # @configure_input@ 11 | 12 | # serial 4179 ltversion.m4 13 | # This file is part of GNU Libtool 14 | 15 | m4_define([LT_PACKAGE_VERSION], [2.4.6]) 16 | m4_define([LT_PACKAGE_REVISION], [2.4.6]) 17 | 18 | AC_DEFUN([LTVERSION_VERSION], 19 | [macro_version='2.4.6' 20 | macro_revision='2.4.6' 21 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 22 | _LT_DECL(, macro_revision, 0) 23 | ]) 24 | -------------------------------------------------------------------------------- /libiconv/libcharset/m4/ltversion.m4: -------------------------------------------------------------------------------- 1 | # ltversion.m4 -- version numbers -*- Autoconf -*- 2 | # 3 | # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. 4 | # Written by Scott James Remnant, 2004 5 | # 6 | # This file is free software; the Free Software Foundation gives 7 | # unlimited permission to copy and/or distribute it, with or without 8 | # modifications, as long as this notice is preserved. 9 | 10 | # @configure_input@ 11 | 12 | # serial 4179 ltversion.m4 13 | # This file is part of GNU Libtool 14 | 15 | m4_define([LT_PACKAGE_VERSION], [2.4.6]) 16 | m4_define([LT_PACKAGE_REVISION], [2.4.6]) 17 | 18 | AC_DEFUN([LTVERSION_VERSION], 19 | [macro_version='2.4.6' 20 | macro_revision='2.4.6' 21 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 22 | _LT_DECL(, macro_revision, 0) 23 | ]) 24 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/all-locales: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # Prints the list of all locale names, one per line. 3 | 4 | locale -a 5 | test $? = 0 && exit 0 6 | 7 | host=`/bin/sh ../build-aux/config.guess` 8 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 9 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 10 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 11 | 12 | case "$host_os" in 13 | sunos* | solaris*) 14 | cd /usr/lib/locale && ls -1 15 | ;; 16 | freebsd*) 17 | cd /usr/share/locale && ls -1 18 | ;; 19 | darwin* | openbsd*) 20 | echo C 21 | cd /usr/share/locale && ls -1 */LC_CTYPE | sed -e 's,/LC_CTYPE$,,' 22 | ;; 23 | *) 24 | echo "Don't know how to determine list of locales on $host_os" 1>&2 25 | exit 1 26 | ;; 27 | esac 28 | -------------------------------------------------------------------------------- /libiconv/srcm4/msvc-inval.m4: -------------------------------------------------------------------------------- 1 | # msvc-inval.m4 serial 1 2 | dnl Copyright (C) 2011-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_MSVC_INVAL], 8 | [ 9 | AC_CHECK_FUNCS_ONCE([_set_invalid_parameter_handler]) 10 | if test $ac_cv_func__set_invalid_parameter_handler = yes; then 11 | HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 12 | AC_DEFINE([HAVE_MSVC_INVALID_PARAMETER_HANDLER], [1], 13 | [Define to 1 on MSVC platforms that have the "invalid parameter handler" 14 | concept.]) 15 | else 16 | HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 17 | fi 18 | AC_SUBST([HAVE_MSVC_INVALID_PARAMETER_HANDLER]) 19 | ]) 20 | -------------------------------------------------------------------------------- /Changelog: -------------------------------------------------------------------------------- 1 | version 0.5.15: 2 | 3 | This second alpha release is still highly experimental and won't run most applications. 4 | Features: 5 | - Now running x86 and x86_64 applications on arm64, ppc64le and x86_64 6 | - Removed broken Android support 7 | - Improved build system aka Makefile 8 | - Updated submodules 9 | - Various other improvements 10 | 11 | version 0.4.0: 12 | 13 | This first alpha release is still highly experimental and won't run most applications. 14 | Features: 15 | - Running x86 and x86_64 applications on arm64 16 | - That happens automagically when qemu is at C:\x86\qemu-x86_64.exe.so 17 | - Android support (currently first starts native cmd, then x86_64 notepad++), prebuilt apk attached... 18 | - D3D support (not on Android, because Wine cannot fully deal with GLES yet) 19 | -------------------------------------------------------------------------------- /libiconv/m4/cp.m4: -------------------------------------------------------------------------------- 1 | dnl Copyright (C) 1993-2002 Free Software Foundation, Inc. 2 | dnl This file is free software, distributed under the terms of the GNU 3 | dnl General Public License. As a special exception to the GNU General 4 | dnl Public License, this file may be distributed as part of a program 5 | dnl that contains a configuration script generated by Autoconf, under 6 | dnl the same distribution terms as the rest of that program. 7 | 8 | dnl From Bruno Haible, Marcus Daniels. 9 | 10 | AC_PREREQ(2.13) 11 | 12 | AC_DEFUN([CL_PROG_CP], 13 | [AC_CACHE_CHECK(how to copy files, cl_cv_prog_cp, [ 14 | echo "blabla" > conftest.x 15 | err=`/bin/sh -c "cp -p conftest.x conftest.y 2>&1"` 16 | if test -z "$err"; then 17 | cl_cv_prog_cp='cp -p' 18 | else 19 | cl_cv_prog_cp='cp' 20 | fi 21 | rm -f conftest* 22 | ]) 23 | CP="$cl_cv_prog_cp" 24 | AC_SUBST(CP)dnl 25 | ]) 26 | -------------------------------------------------------------------------------- /dlls/riched20/qemu_riched20.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_RICHED20_H 2 | #define QEMU_RICHED20_H 3 | 4 | enum riched20_calls 5 | { 6 | CALL_CREATETEXTSERVICES = 0, 7 | CALL_REEXTENDEDREGISTERCLASS, 8 | CALL_RICHEDIT10ANSIWNDPROC, 9 | CALL_RICHEDITANSIWNDPROC, 10 | CALL_SET_CALLBACKS, 11 | }; 12 | 13 | #ifdef QEMU_DLL_GUEST 14 | 15 | #else 16 | 17 | extern const struct qemu_ops *qemu_ops; 18 | extern LRESULT WINAPI wrap_proc_a(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 19 | extern LRESULT WINAPI wrap_proc_10a(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); 20 | 21 | void qemu_REExtendedRegisterClass(struct qemu_syscall *call); 22 | void qemu_CreateTextServices(struct qemu_syscall *call); 23 | void qemu_RichEdit10ANSIWndProc(struct qemu_syscall *call); 24 | void qemu_RichEditANSIWndProc(struct qemu_syscall *call); 25 | 26 | #endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/locale_monthnames.c: -------------------------------------------------------------------------------- 1 | /* Prints the system dependent names for the 12 months in the current locale. */ 2 | 3 | #define _XOPEN_SOURCE 500 /* Needed on AIX 3.2.5 */ 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | int main () 11 | { 12 | setlocale(LC_ALL, ""); 13 | printf("%s\n", nl_langinfo(MON_1)); 14 | printf("%s\n", nl_langinfo(MON_2)); 15 | printf("%s\n", nl_langinfo(MON_3)); 16 | printf("%s\n", nl_langinfo(MON_4)); 17 | printf("%s\n", nl_langinfo(MON_5)); 18 | printf("%s\n", nl_langinfo(MON_6)); 19 | printf("%s\n", nl_langinfo(MON_7)); 20 | printf("%s\n", nl_langinfo(MON_8)); 21 | printf("%s\n", nl_langinfo(MON_9)); 22 | printf("%s\n", nl_langinfo(MON_10)); 23 | printf("%s\n", nl_langinfo(MON_11)); 24 | printf("%s\n", nl_langinfo(MON_12)); 25 | exit(0); 26 | } 27 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_rpcdce.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_RPCDCE_H 2 | #define HAVE_QEMU_THUNK_RPCDCE_H 3 | 4 | struct qemu_SEC_WINNT_AUTH_IDENTITY 5 | { 6 | qemu_ptr User; 7 | ULONG UserLength; 8 | qemu_ptr Domain; 9 | ULONG DomainLength; 10 | qemu_ptr Password; 11 | ULONG PasswordLength; 12 | ULONG Flags; 13 | }; 14 | 15 | static inline void SEC_WINNT_AUTH_IDENTITY_g2h(SEC_WINNT_AUTH_IDENTITY_W *host, 16 | const struct qemu_SEC_WINNT_AUTH_IDENTITY *guest) 17 | { 18 | host->User = (WCHAR *)(ULONG_PTR)guest->User; 19 | host->UserLength = guest->UserLength; 20 | host->Domain = (WCHAR *)(ULONG_PTR)guest->Domain; 21 | host->DomainLength = guest->DomainLength; 22 | host->Password = (WCHAR *)(ULONG_PTR)guest->Password; 23 | host->PasswordLength = guest->PasswordLength; 24 | host->Flags = guest->Flags; 25 | } 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /libiconv/djgpp/makefile.sed: -------------------------------------------------------------------------------- 1 | # Fixes for lib/Makefile.in 2 | s|encodings\.def|encodings/&|g 3 | s|encodings_aix\.def|encodings/aix.def|g 4 | s|encodings_dos\.def|encodings/dos\.def|g 5 | s|encodings_extra\.def|encodings/extra\.def|g 6 | s|encodings_osf1\.def|encodings/osf1\.def|g 7 | s|encodings_local\.def|encodings/local\.def|g 8 | s|aliases\.h|aliases/&|g 9 | s|aliases2\.h|aliases/aliases2.h|g 10 | s|aliases_aix\.h|aliases/aix.h|g 11 | s|aliases_dos\.h|aliases/dos\.h|g 12 | s|aliases_extra\.h|aliases/extra\.h|g 13 | s|aliases_osf1\.h|aliases/osf1\.h|g 14 | s|aliases_local\.h|aliases/local\.h|g 15 | 16 | 17 | # Fixes for tests/Makefile.in 18 | s|\$(srcdir)/check-translitfailure|$(SHELL) $(srcdir)/failuretranslit-check| 19 | s|\$(srcdir)/check-stateless|$(SHELL) $(srcdir)/stateless-check| 20 | s|\$(srcdir)/check-stateful|$(SHELL) $(srcdir)/stateful-check| 21 | s|\$(srcdir)/check-translit|$(SHELL) $(srcdir)/translit-check| 22 | -------------------------------------------------------------------------------- /libiconv/srcm4/ssize_t.m4: -------------------------------------------------------------------------------- 1 | # ssize_t.m4 serial 5 (gettext-0.18.2) 2 | dnl Copyright (C) 2001-2003, 2006, 2010-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether ssize_t is defined. 9 | 10 | AC_DEFUN([gt_TYPE_SSIZE_T], 11 | [ 12 | AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t], 13 | [AC_COMPILE_IFELSE( 14 | [AC_LANG_PROGRAM( 15 | [[#include ]], 16 | [[int x = sizeof (ssize_t *) + sizeof (ssize_t); 17 | return !x;]])], 18 | [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])]) 19 | if test $gt_cv_ssize_t = no; then 20 | AC_DEFINE([ssize_t], [int], 21 | [Define as a signed type of the same size as size_t.]) 22 | fi 23 | ]) 24 | -------------------------------------------------------------------------------- /libiconv/srcm4/wchar_t.m4: -------------------------------------------------------------------------------- 1 | # wchar_t.m4 serial 4 (gettext-0.18.2) 2 | dnl Copyright (C) 2002-2003, 2008-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether has the 'wchar_t' type. 9 | dnl Prerequisite: AC_PROG_CC 10 | 11 | AC_DEFUN([gt_TYPE_WCHAR_T], 12 | [ 13 | AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t], 14 | [AC_COMPILE_IFELSE( 15 | [AC_LANG_PROGRAM( 16 | [[#include 17 | wchar_t foo = (wchar_t)'\0';]], 18 | [[]])], 19 | [gt_cv_c_wchar_t=yes], 20 | [gt_cv_c_wchar_t=no])]) 21 | if test $gt_cv_c_wchar_t = yes; then 22 | AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.]) 23 | fi 24 | ]) 25 | -------------------------------------------------------------------------------- /libiconv/lib/aliases_aix_sysaix.h: -------------------------------------------------------------------------------- 1 | S(aix_0, "CP856", ei_cp856 ) 2 | S(aix_1, "IBM-856", ei_cp856 ) 3 | S(aix_2, "CP922", ei_cp922 ) 4 | S(aix_3, "IBM-922", ei_cp922 ) 5 | S(aix_4, "CP943", ei_cp943 ) 6 | S(aix_5, "IBM-943", ei_cp943 ) 7 | S(aix_6, "CP1046", ei_cp1046 ) 8 | S(aix_7, "IBM-1046", ei_cp1046 ) 9 | S(aix_8, "CP1124", ei_cp1124 ) 10 | S(aix_9, "IBM-1124", ei_cp1124 ) 11 | S(aix_10, "CP1129", ei_cp1129 ) 12 | S(aix_11, "IBM-1129", ei_cp1129 ) 13 | S(aix_12, "CP1161", ei_cp1161 ) 14 | S(aix_13, "IBM1161", ei_cp1161 ) 15 | S(aix_14, "IBM-1161", ei_cp1161 ) 16 | S(aix_15, "CSIBM1161", ei_cp1161 ) 17 | S(aix_16, "CP1162", ei_cp1162 ) 18 | S(aix_17, "IBM1162", ei_cp1162 ) 19 | S(aix_18, "IBM-1162", ei_cp1162 ) 20 | S(aix_19, "CSIBM1162", ei_cp1162 ) 21 | S(aix_20, "CP1163", ei_cp1163 ) 22 | S(aix_21, "IBM1163", ei_cp1163 ) 23 | S(aix_22, "IBM-1163", ei_cp1163 ) 24 | S(aix_23, "CSIBM1163", ei_cp1163 ) 25 | -------------------------------------------------------------------------------- /libiconv/srcm4/codeset.m4: -------------------------------------------------------------------------------- 1 | # codeset.m4 serial 5 (gettext-0.18.2) 2 | dnl Copyright (C) 2000-2002, 2006, 2008-2014, 2016-2017 Free Software 3 | dnl Foundation, Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | dnl From Bruno Haible. 9 | 10 | AC_DEFUN([AM_LANGINFO_CODESET], 11 | [ 12 | AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset], 13 | [AC_LINK_IFELSE( 14 | [AC_LANG_PROGRAM( 15 | [[#include ]], 16 | [[char* cs = nl_langinfo(CODESET); return !cs;]])], 17 | [am_cv_langinfo_codeset=yes], 18 | [am_cv_langinfo_codeset=no]) 19 | ]) 20 | if test $am_cv_langinfo_codeset = yes; then 21 | AC_DEFINE([HAVE_LANGINFO_CODESET], [1], 22 | [Define if you have and nl_langinfo(CODESET).]) 23 | fi 24 | ]) 25 | -------------------------------------------------------------------------------- /libiconv/woe32dll/iconv-exports.c: -------------------------------------------------------------------------------- 1 | /* List of exported symbols of libiconv on Cygwin. 2 | Copyright (C) 2006 Free Software Foundation, Inc. 3 | Written by Bruno Haible , 2006. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | #include "woe32dll/export.h" 19 | 20 | VARIABLE(_libiconv_version) 21 | -------------------------------------------------------------------------------- /libiconv/libcharset/m4/codeset.m4: -------------------------------------------------------------------------------- 1 | # codeset.m4 serial 5 (gettext-0.18.2) 2 | dnl Copyright (C) 2000-2002, 2006, 2008-2014, 2016-2017 Free Software 3 | dnl Foundation, Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | dnl From Bruno Haible. 9 | 10 | AC_DEFUN([AM_LANGINFO_CODESET], 11 | [ 12 | AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset], 13 | [AC_LINK_IFELSE( 14 | [AC_LANG_PROGRAM( 15 | [[#include ]], 16 | [[char* cs = nl_langinfo(CODESET); return !cs;]])], 17 | [am_cv_langinfo_codeset=yes], 18 | [am_cv_langinfo_codeset=no]) 19 | ]) 20 | if test $am_cv_langinfo_codeset = yes; then 21 | AC_DEFINE([HAVE_LANGINFO_CODESET], [1], 22 | [Define if you have and nl_langinfo(CODESET).]) 23 | fi 24 | ]) 25 | -------------------------------------------------------------------------------- /libiconv/srcm4/error.m4: -------------------------------------------------------------------------------- 1 | #serial 14 2 | 3 | # Copyright (C) 1996-1998, 2001-2004, 2009-2017 Free Software Foundation, Inc. 4 | # 5 | # This file is free software; the Free Software Foundation 6 | # gives unlimited permission to copy and/or distribute it, 7 | # with or without modifications, as long as this notice is preserved. 8 | 9 | AC_DEFUN([gl_ERROR], 10 | [ 11 | dnl We don't use AC_FUNC_ERROR_AT_LINE any more, because it is no longer 12 | dnl maintained in Autoconf and because it invokes AC_LIBOBJ. 13 | AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line], 14 | [AC_LINK_IFELSE( 15 | [AC_LANG_PROGRAM( 16 | [[#include ]], 17 | [[error_at_line (0, 0, "", 0, "an error occurred");]])], 18 | [ac_cv_lib_error_at_line=yes], 19 | [ac_cv_lib_error_at_line=no])]) 20 | ]) 21 | 22 | # Prerequisites of lib/error.c. 23 | AC_DEFUN([gl_PREREQ_ERROR], 24 | [ 25 | AC_REQUIRE([AC_FUNC_STRERROR_R]) 26 | : 27 | ]) 28 | -------------------------------------------------------------------------------- /libiconv/srcm4/glibc2.m4: -------------------------------------------------------------------------------- 1 | # glibc2.m4 serial 3 2 | dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2017 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | # Test for the GNU C Library, version 2.0 or newer. 9 | # From Bruno Haible. 10 | 11 | AC_DEFUN([gt_GLIBC2], 12 | [ 13 | AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer], 14 | [ac_cv_gnu_library_2], 15 | [AC_EGREP_CPP([Lucky GNU user], 16 | [ 17 | #include 18 | #ifdef __GNU_LIBRARY__ 19 | #if (__GLIBC__ >= 2) && !defined __UCLIBC__ 20 | Lucky GNU user 21 | #endif 22 | #endif 23 | ], 24 | [ac_cv_gnu_library_2=yes], 25 | [ac_cv_gnu_library_2=no]) 26 | ] 27 | ) 28 | AC_SUBST([GLIBC2]) 29 | GLIBC2="$ac_cv_gnu_library_2" 30 | ] 31 | ) 32 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_d3dcaps.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_D3DCAPS_H 2 | #define HAVE_QEMU_THUNK_D3DCAPS_H 3 | 4 | struct qemu_D3DEXECUTEBUFFERDESC 5 | { 6 | DWORD dwSize; 7 | DWORD dwFlags; 8 | DWORD dwCaps; 9 | DWORD dwBufferSize; 10 | qemu_ptr lpData; 11 | }; 12 | 13 | static inline void D3DEXECUTEBUFFERDESC_g2h(D3DEXECUTEBUFFERDESC *host, const struct qemu_D3DEXECUTEBUFFERDESC *guest) 14 | { 15 | host->dwSize = sizeof(*host); 16 | host->dwFlags = guest->dwFlags; 17 | host->dwCaps = guest->dwCaps; 18 | host->dwBufferSize = guest->dwBufferSize; 19 | host->lpData = (void *)(ULONG_PTR)guest->lpData; 20 | } 21 | 22 | static inline void D3DEXECUTEBUFFERDESC_h2g(struct qemu_D3DEXECUTEBUFFERDESC *guest, const D3DEXECUTEBUFFERDESC *host) 23 | { 24 | guest->dwFlags = host->dwFlags; 25 | guest->dwCaps = host->dwCaps; 26 | guest->dwBufferSize = host->dwBufferSize; 27 | guest->lpData = (ULONG_PTR)host->lpData; 28 | } 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /libiconv/srcm4/read.m4: -------------------------------------------------------------------------------- 1 | # read.m4 serial 4 2 | dnl Copyright (C) 2011-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_READ], 8 | [ 9 | AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) 10 | AC_REQUIRE([gl_MSVC_INVAL]) 11 | if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then 12 | REPLACE_READ=1 13 | fi 14 | dnl This ifdef is just an optimization, to avoid performing a configure 15 | dnl check whose result is not used. It does not make the test of 16 | dnl GNULIB_UNISTD_H_NONBLOCKING or GNULIB_NONBLOCKING redundant. 17 | m4_ifdef([gl_NONBLOCKING_IO], [ 18 | gl_NONBLOCKING_IO 19 | if test $gl_cv_have_nonblocking != yes; then 20 | REPLACE_READ=1 21 | fi 22 | ]) 23 | ]) 24 | 25 | # Prerequisites of lib/read.c. 26 | AC_DEFUN([gl_PREREQ_READ], [:]) 27 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_ocidl.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_OCIDL_H 2 | #define HAVE_QEMU_THUNK_OCIDL_H 3 | 4 | struct qemu_PROPBAG2 5 | { 6 | DWORD dwType; 7 | VARTYPE vt; 8 | CLIPFORMAT cfType; 9 | DWORD dwHint; 10 | qemu_ptr pstrName; 11 | CLSID clsid; 12 | }; 13 | 14 | static inline void PROPBAG2_h2g(struct qemu_PROPBAG2 *guest, const PROPBAG2 *host) 15 | { 16 | guest->dwType = host->dwType; 17 | guest->vt = host->vt; 18 | guest->cfType = host->cfType; 19 | guest->dwHint = host->dwHint; 20 | guest->pstrName = (ULONG_PTR)host->pstrName; 21 | guest->clsid = host->clsid; 22 | } 23 | 24 | static inline void PROPBAG2_g2h(PROPBAG2 *host, const struct qemu_PROPBAG2 *guest) 25 | { 26 | host->dwType = guest->dwType; 27 | host->vt = guest->vt; 28 | host->cfType = guest->cfType; 29 | host->dwHint = guest->dwHint; 30 | host->pstrName = (LPOLESTR)(ULONG_PTR)guest->pstrName; 31 | host->clsid = guest->clsid; 32 | } 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /libiconv/lib/canonical_dos.h: -------------------------------------------------------------------------------- 1 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_0, 2 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_4, 3 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_5, 4 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_8, 5 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_12, 6 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_13, 7 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_17, 8 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_21, 9 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_22, 10 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_26, 11 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_31, 12 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_35, 13 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_38, 14 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_42, 15 | (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_47, 16 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/locale_x11encoding.c: -------------------------------------------------------------------------------- 1 | /* Prints the locale's encoding via libX11. */ 2 | 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | int main (int argc, char* argv[]) 11 | { 12 | Display* display; 13 | XTextProperty textprop; 14 | char* input; 15 | 16 | if (argc != 1) 17 | exit(1); 18 | 19 | setlocale(LC_CTYPE,""); 20 | 21 | display = XOpenDisplay(NULL); 22 | if (display == NULL) { 23 | fprintf(stderr,"cannot open display\n"); 24 | exit(1); 25 | } 26 | 27 | input = ""; 28 | if (XmbTextListToTextProperty(display, &input, 1, XTextStyle, &textprop) != Success) { 29 | fprintf(stderr,"XmbTextListToTextProperty failed\n"); 30 | exit(1); 31 | } 32 | assert(textprop.format == 8); 33 | assert(textprop.nitems == 0); 34 | 35 | printf("%s\n", XGetAtomName(display, textprop.encoding)); 36 | 37 | XCloseDisplay(display); 38 | 39 | exit(0); 40 | } 41 | -------------------------------------------------------------------------------- /libiconv/srcm4/intldir.m4: -------------------------------------------------------------------------------- 1 | # intldir.m4 serial 2 (gettext-0.18) 2 | dnl Copyright (C) 2006, 2009-2014, 2016-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | dnl 7 | dnl This file can be used in projects which are not available under 8 | dnl the GNU General Public License or the GNU Library General Public 9 | dnl License but which still want to provide support for the GNU gettext 10 | dnl functionality. 11 | dnl Please note that the actual code of the GNU gettext library is covered 12 | dnl by the GNU Library General Public License, and the rest of the GNU 13 | dnl gettext package is covered by the GNU General Public License. 14 | dnl They are *not* in the public domain. 15 | 16 | AC_PREREQ([2.52]) 17 | 18 | dnl Tells the AM_GNU_GETTEXT macro to consider an intl/ directory. 19 | AC_DEFUN([AM_GNU_GETTEXT_INTL_SUBDIR], []) 20 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | 3 | ENV DEBIAN_FRONTEND=noninteractive 4 | 5 | RUN apt-get update && apt-get install -y --no-install-recommends \ 6 | unzip wget python \ 7 | && apt clean \ 8 | && rm -rf /var/lib/apt/lists/* 9 | 10 | RUN apt-get update && apt-get install -y --no-install-recommends \ 11 | ca-certificates \ 12 | python \ 13 | flex bison \ 14 | libfreetype6-dev \ 15 | libglib2.0-dev \ 16 | libltdl-dev \ 17 | libxcb1-dev \ 18 | libx11-dev \ 19 | librsvg2-bin \ 20 | gcc-mingw-w64-x86-64 gcc-mingw-w64-i686 \ 21 | automake autoconf pkg-config libtool \ 22 | automake1.11 autoconf2.13 autoconf2.64 \ 23 | gtk-doc-tools git gperf groff p7zip-full \ 24 | gettext \ 25 | g++ \ 26 | make \ 27 | && apt clean \ 28 | && rm -rf /var/lib/apt/lists/* \ 29 | && ln -s /usr/bin/autoconf /usr/bin/autoconf-2.69 \ 30 | && ln -s /usr/bin/autoheader /usr/bin/autoheader-2.69 31 | 32 | ENV NOTESTS 1 33 | 34 | RUN mkdir -p /root/hangover 35 | COPY . /root/hangover/ 36 | RUN make -C /root/hangover -f Makefile 37 | -------------------------------------------------------------------------------- /libiconv/djgpp/stateless-check.sed: -------------------------------------------------------------------------------- 1 | # Sed script for tests/stateless-check editing. 2 | 3 | /charsetf=/ a\ 4 | \ 5 | # For systems with severe filename restrictions\ 6 | # allow for an alternate filename.\ 7 | UNAME=${UNAME-`uname 2>/dev/null`}\ 8 | case X$UNAME in\ 9 | *-DOS) filename=`echo "$charsetf" | sed "s|ISO-|ISO/|; \\\ 10 | s|Mac|Mac/|; \\\ 11 | s|BIG5-HKSCS-|BIG5-HKSCS/|; \\\ 12 | s|Georgian-|Georgian/|"`\ 13 | tmp_filename=`echo "$filename" | sed "s|/|/tmp-|"`\ 14 | tmp_orig_filename=`echo "$filename" | sed "s|/|/tmp-orig-|"` ;;\ 15 | *) filename="$charsetf"\ 16 | tmp_filename="$charsetf"\ 17 | tmp_orig_filename="$charsetf" ;;\ 18 | esac 19 | s|/"\$charsetf"|/"$filename"|g 20 | s|tmp-"\$charsetf"|"${srcdir}"/"$tmp_filename"|g 21 | s|tmp-orig"\$charsetf"|"${srcdir}"/"$tmp_orig_filename"|g 22 | s|\.INVERSE\.|.INVERSE-|g 23 | s|\.IRREVERSIBLE\.|.IRREVERSIBLE-|g 24 | -------------------------------------------------------------------------------- /libiconv/srcm4/sigpipe.m4: -------------------------------------------------------------------------------- 1 | # sigpipe.m4 serial 2 2 | dnl Copyright (C) 2008-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl Tests whether SIGPIPE is provided by . 8 | dnl Sets gl_cv_header_signal_h_SIGPIPE. 9 | AC_DEFUN([gl_SIGNAL_SIGPIPE], 10 | [ 11 | dnl Use AC_REQUIRE here, so that the default behavior below is expanded 12 | dnl once only, before all statements that occur in other macros. 13 | AC_REQUIRE([gl_SIGNAL_SIGPIPE_BODY]) 14 | ]) 15 | 16 | AC_DEFUN([gl_SIGNAL_SIGPIPE_BODY], 17 | [ 18 | AC_REQUIRE([AC_PROG_CC]) 19 | AC_CACHE_CHECK([for SIGPIPE], [gl_cv_header_signal_h_SIGPIPE], [ 20 | AC_EGREP_CPP([booboo],[ 21 | #include 22 | #if !defined SIGPIPE 23 | booboo 24 | #endif 25 | ], 26 | [gl_cv_header_signal_h_SIGPIPE=no], 27 | [gl_cv_header_signal_h_SIGPIPE=yes]) 28 | ]) 29 | ]) 30 | -------------------------------------------------------------------------------- /dlls/ddraw/ddraw.spec: -------------------------------------------------------------------------------- 1 | @ stub DDHAL32_VidMemAlloc 2 | @ stub DDHAL32_VidMemFree 3 | @ stub DDInternalLock 4 | @ stub DDInternalUnlock 5 | @ stub DSoundHelp 6 | @ stdcall DirectDrawCreate(ptr ptr ptr) 7 | @ stdcall DirectDrawCreateClipper(long ptr ptr) qemu_guest_DirectDrawCreateClipper 8 | @ stdcall DirectDrawCreateEx(ptr ptr ptr ptr) 9 | @ stdcall DirectDrawEnumerateA(ptr ptr) 10 | @ stdcall DirectDrawEnumerateExA(ptr ptr long) 11 | @ stdcall DirectDrawEnumerateExW(ptr ptr long) 12 | @ stdcall DirectDrawEnumerateW(ptr ptr) 13 | @ stdcall -private DllCanUnloadNow() 14 | @ stdcall -private DllGetClassObject(ptr ptr ptr) 15 | @ stdcall -private DllRegisterServer() 16 | @ stdcall -private DllUnregisterServer() 17 | @ stub GetNextMipMap 18 | @ stdcall GetSurfaceFromDC(ptr ptr ptr) 19 | @ stub HeapVidMemAllocAligned 20 | @ stub InternalLock 21 | @ stub InternalUnlock 22 | @ stub LateAllocateSurfaceMem 23 | @ stub VidMemAlloc 24 | @ stub VidMemAmountFree 25 | @ stub VidMemFini 26 | @ stub VidMemFree 27 | @ stub VidMemInit 28 | @ stub VidMemLargestFree 29 | -------------------------------------------------------------------------------- /libiconv/libcharset/HACKING: -------------------------------------------------------------------------------- 1 | All you need to know when hacking (modifying) GNU libcharset or when building 2 | it off the Git repository. 3 | 4 | 5 | Requirements 6 | ============ 7 | 8 | You will need reasonably recent versions of the build tools: 9 | 10 | * A C compiler. Such as GNU GCC. 11 | + Homepage: 12 | http://gcc.gnu.org/ 13 | 14 | * GNU autoconf 15 | + Homepage: 16 | http://www.gnu.org/software/autoconf/ 17 | 18 | * GNU m4 19 | + Homepage: 20 | http://www.gnu.org/software/m4/ 21 | 22 | * Perl 23 | + Homepage: 24 | http://www.perl.org/ 25 | 26 | And, of course, the packages listed in the DEPENDENCIES file. 27 | 28 | 29 | Building off the Git repository 30 | =============================== 31 | 32 | Access to the Git repository is described at 33 | https://savannah.gnu.org/git/?group=libiconv . 34 | 35 | After fetching the sources from the Git repository, peek at the comments in 36 | autogen.sh, then run "./autogen.sh"; then you can proceed with "./configure" 37 | as usual. 38 | 39 | -------------------------------------------------------------------------------- /libiconv/lib/loops.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2000 Free Software Foundation, Inc. 3 | * This file is part of the GNU LIBICONV Library. 4 | * 5 | * The GNU LIBICONV Library is free software; you can redistribute it 6 | * and/or modify it under the terms of the GNU Library General Public 7 | * License as published by the Free Software Foundation; either version 2 8 | * of the License, or (at your option) any later version. 9 | * 10 | * The GNU LIBICONV Library is distributed in the hope that it will be 11 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Library General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Library General Public 16 | * License along with the GNU LIBICONV Library; see the file COPYING.LIB. 17 | * If not, see . 18 | */ 19 | 20 | /* This file defines all the loops. */ 21 | 22 | #include "loop_unicode.h" 23 | #include "loop_wchar.h" 24 | 25 | -------------------------------------------------------------------------------- /libiconv/preload/aclocal.m4: -------------------------------------------------------------------------------- 1 | # generated automatically by aclocal 1.15 -*- Autoconf -*- 2 | 3 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. 4 | 5 | # This file is free software; the Free Software Foundation 6 | # gives unlimited permission to copy and/or distribute it, 7 | # with or without modifications, as long as this notice is preserved. 8 | 9 | # This program is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12 | # PARTICULAR PURPOSE. 13 | 14 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) 15 | m4_include([../srcm4/extensions.m4]) 16 | m4_include([../srcm4/relocatable-lib.m4]) 17 | m4_include([../srcm4/visibility.m4]) 18 | m4_include([../m4/libtool.m4]) 19 | m4_include([../m4/ltoptions.m4]) 20 | m4_include([../m4/ltsugar.m4]) 21 | m4_include([../m4/ltversion.m4]) 22 | m4_include([../m4/lt~obsolete.m4]) 23 | -------------------------------------------------------------------------------- /libiconv/srcm4/signalblocking.m4: -------------------------------------------------------------------------------- 1 | # signalblocking.m4 serial 14 2 | dnl Copyright (C) 2001-2002, 2006-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | # Determine available signal blocking primitives. Three different APIs exist: 8 | # 1) POSIX: sigemptyset, sigaddset, sigprocmask 9 | # 2) SYSV: sighold, sigrelse 10 | # 3) BSD: sigblock, sigsetmask 11 | # For simplicity, here we check only for the POSIX signal blocking. 12 | AC_DEFUN([gl_SIGNALBLOCKING], 13 | [ 14 | AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) 15 | AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) 16 | if test $gl_cv_type_sigset_t = yes; then 17 | AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1]) 18 | fi 19 | if test -z "$gl_cv_func_sigprocmask"; then 20 | HAVE_POSIX_SIGNALBLOCKING=0 21 | fi 22 | ]) 23 | 24 | # Prerequisites of lib/sigprocmask.c. 25 | AC_DEFUN([gl_PREREQ_SIGPROCMASK], [:]) 26 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/README: -------------------------------------------------------------------------------- 1 | This directory contains tools for maintaining the config.charset file. 2 | 3 | The main script is "all-charsets". Before using it, you must configure 4 | this package. For all installed locales, it prints 5 | - the result of the command "locale charmap", 6 | - the result of "nl_langinfo (CODESET)", 7 | - the result of "locale_charset ()". 8 | 9 | It uses the following auxiliary scripts and programs: 10 | - all-locales 11 | Prints all usable locales in the system, one per line. 12 | - locale_charmap 13 | Executes "locale charmap". 14 | - locale_codeset.c 15 | Prints nl_langinfo (CODESET). 16 | - locale_charset.c 17 | Prints locale_charset(). 18 | 19 | A second main script is "all-charsets-X11". It also prints the X11 20 | encoding name. Before using it, you must tweak the X11 paths needed 21 | for compiling locale_x11encoding (a simple X11 program), and let your 22 | DISPLAY environment variable point to a running X11 screen. 23 | 24 | The other files are test results from various operating systems. 25 | 26 | -------------------------------------------------------------------------------- /libiconv/srcm4/glibc21.m4: -------------------------------------------------------------------------------- 1 | # glibc21.m4 serial 5 2 | dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2017 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | # Test for the GNU C Library, version 2.1 or newer, or uClibc. 9 | # From Bruno Haible. 10 | 11 | AC_DEFUN([gl_GLIBC21], 12 | [ 13 | AC_CACHE_CHECK([whether we are using the GNU C Library >= 2.1 or uClibc], 14 | [ac_cv_gnu_library_2_1], 15 | [AC_EGREP_CPP([Lucky], 16 | [ 17 | #include 18 | #ifdef __GNU_LIBRARY__ 19 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) 20 | Lucky GNU user 21 | #endif 22 | #endif 23 | #ifdef __UCLIBC__ 24 | Lucky user 25 | #endif 26 | ], 27 | [ac_cv_gnu_library_2_1=yes], 28 | [ac_cv_gnu_library_2_1=no]) 29 | ] 30 | ) 31 | AC_SUBST([GLIBC21]) 32 | GLIBC21="$ac_cv_gnu_library_2_1" 33 | ] 34 | ) 35 | -------------------------------------------------------------------------------- /libiconv/libcharset/m4/glibc21.m4: -------------------------------------------------------------------------------- 1 | # glibc21.m4 serial 5 2 | dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2017 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | # Test for the GNU C Library, version 2.1 or newer, or uClibc. 9 | # From Bruno Haible. 10 | 11 | AC_DEFUN([gl_GLIBC21], 12 | [ 13 | AC_CACHE_CHECK([whether we are using the GNU C Library >= 2.1 or uClibc], 14 | [ac_cv_gnu_library_2_1], 15 | [AC_EGREP_CPP([Lucky], 16 | [ 17 | #include 18 | #ifdef __GNU_LIBRARY__ 19 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) 20 | Lucky GNU user 21 | #endif 22 | #endif 23 | #ifdef __UCLIBC__ 24 | Lucky user 25 | #endif 26 | ], 27 | [ac_cv_gnu_library_2_1=yes], 28 | [ac_cv_gnu_library_2_1=no]) 29 | ] 30 | ) 31 | AC_SUBST([GLIBC21]) 32 | GLIBC21="$ac_cv_gnu_library_2_1" 33 | ] 34 | ) 35 | -------------------------------------------------------------------------------- /dlls/xinput1_3/qemu_xinput1_3.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_XINPUT_H 2 | #define QEMU_XINPUT_H 3 | 4 | #include 5 | 6 | enum xinput1_3_calls 7 | { 8 | CALL_XINPUTENABLE = 0, 9 | CALL_XINPUTGETBATTERYINFORMATION, 10 | CALL_XINPUTGETCAPABILITIES, 11 | CALL_XINPUTGETDSOUNDAUDIODEVICEGUIDS, 12 | CALL_XINPUTGETKEYSTROKE, 13 | CALL_XINPUTGETSTATE, 14 | CALL_XINPUTGETSTATEEX, 15 | CALL_XINPUTSETSTATE, 16 | CALL_XXX, 17 | }; 18 | 19 | #ifdef QEMU_DLL_GUEST 20 | 21 | #else 22 | 23 | extern const struct qemu_ops *qemu_ops; 24 | 25 | void qemu_XInputEnable(struct qemu_syscall *call); 26 | void qemu_XInputGetBatteryInformation(struct qemu_syscall *call); 27 | void qemu_XInputGetCapabilities(struct qemu_syscall *call); 28 | void qemu_XInputGetDSoundAudioDeviceGuids(struct qemu_syscall *call); 29 | void qemu_XInputGetKeystroke(struct qemu_syscall *call); 30 | void qemu_XInputGetState(struct qemu_syscall *call); 31 | void qemu_XInputGetStateEx(struct qemu_syscall *call); 32 | void qemu_XInputSetState(struct qemu_syscall *call); 33 | 34 | #endif 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /libiconv/libcharset/autoconf/aclocal.m4: -------------------------------------------------------------------------------- 1 | # generated automatically by aclocal 1.15 -*- Autoconf -*- 2 | 3 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. 4 | 5 | # This file is free software; the Free Software Foundation 6 | # gives unlimited permission to copy and/or distribute it, 7 | # with or without modifications, as long as this notice is preserved. 8 | 9 | # This program is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12 | # PARTICULAR PURPOSE. 13 | 14 | m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) 15 | m4_include([m4/codeset.m4]) 16 | m4_include([m4/fcntl-o.m4]) 17 | m4_include([m4/glibc21.m4]) 18 | m4_include([m4/libtool.m4]) 19 | m4_include([m4/ltoptions.m4]) 20 | m4_include([m4/ltsugar.m4]) 21 | m4_include([m4/ltversion.m4]) 22 | m4_include([m4/lt~obsolete.m4]) 23 | m4_include([m4/relocatable-lib.m4]) 24 | m4_include([m4/visibility.m4]) 25 | -------------------------------------------------------------------------------- /libiconv/libcharset/lib/ref-del.sin: -------------------------------------------------------------------------------- 1 | # Remove this package from a list of references stored in a text file. 2 | # 3 | # Copyright (C) 2000 Free Software Foundation, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify it 6 | # under the terms of the GNU Library General Public License as published 7 | # by the Free Software Foundation; either version 2, or (at your option) 8 | # any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # Library General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU Library General Public License 16 | # along with this program; if not, see . 17 | # 18 | # Written by Bruno Haible . 19 | # 20 | /^# Packages using this file: / { 21 | s/# Packages using this file:// 22 | s/ @PACKAGE@ / / 23 | s/^/# Packages using this file:/ 24 | } 25 | -------------------------------------------------------------------------------- /libiconv/srclib/xreadlink.h: -------------------------------------------------------------------------------- 1 | /* Reading symbolic links without size limitation. 2 | 3 | Copyright (C) 2001, 2003-2004, 2007, 2009-2017 Free Software Foundation, 4 | Inc. 5 | 6 | This program is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation; either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . */ 18 | 19 | /* Written by Jim Meyering */ 20 | 21 | extern char *xreadlink (char const *filename); 22 | 23 | #if GNULIB_XREADLINKAT 24 | extern char *xreadlinkat (int fd, char const *filename); 25 | #endif 26 | -------------------------------------------------------------------------------- /dlls/include/user32_wrapper.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Stefan Dösinger for CodeWeavers 3 | * 4 | * This library is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with this library; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 | */ 18 | 19 | #ifndef QEMU_USER32_WRAPPER_H 20 | #define QEMU_USER32_WRAPPER_H 21 | 22 | typedef BOOL (* WINAPI QEMU_USER32_NOTIFY_FUNC)(const WCHAR *class, void (*func)(MSG *guest, MSG *host, BOOL ret)); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /libiconv/srcm4/eealloc.m4: -------------------------------------------------------------------------------- 1 | # eealloc.m4 serial 3 2 | dnl Copyright (C) 2003, 2009-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_EEALLOC], 8 | [ 9 | AC_REQUIRE([gl_EEMALLOC]) 10 | AC_REQUIRE([gl_EEREALLOC]) 11 | ]) 12 | 13 | AC_DEFUN([gl_EEMALLOC], 14 | [ 15 | _AC_FUNC_MALLOC_IF( 16 | [gl_cv_func_malloc_0_nonnull=1], 17 | [gl_cv_func_malloc_0_nonnull=0]) 18 | AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull], 19 | [If malloc(0) is != NULL, define this to 1. Otherwise define this 20 | to 0.]) 21 | ]) 22 | 23 | AC_DEFUN([gl_EEREALLOC], 24 | [ 25 | _AC_FUNC_REALLOC_IF( 26 | [gl_cv_func_realloc_0_nonnull=1], 27 | [gl_cv_func_realloc_0_nonnull=0]) 28 | AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull], 29 | [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this 30 | to 0.]) 31 | ]) 32 | -------------------------------------------------------------------------------- /libiconv/libcharset/Makefile.devel: -------------------------------------------------------------------------------- 1 | # This is the developer's makefile, not the user's makefile. 2 | # Don't use it unless you know exactly what you do! 3 | 4 | SHELL = /bin/sh 5 | MAKE = make 6 | AUTOCONF = autoconf-2.69 7 | AUTOHEADER = autoheader-2.69 8 | ACLOCAL = aclocal-1.15 9 | CP = cp 10 | RM = rm -f 11 | 12 | all : configures include/localcharset.h.build.in 13 | 14 | autoconf/aclocal.m4 : $(wildcard m4/*.m4) 15 | test -d autoconf || mkdir autoconf 16 | $(ACLOCAL) -I m4 --output=$@ 17 | 18 | configures : configure config.h.in 19 | 20 | configure : configure.ac autoconf/aclocal.m4 21 | $(AUTOCONF) --include autoconf 22 | 23 | config.h.in : configure.ac autoconf/aclocal.m4 24 | $(AUTOHEADER) --include autoconf 25 | touch config.h.in 26 | 27 | include/localcharset.h.build.in : include/localcharset.h.in include/export.h 28 | sed -e 's/extern \([^"]\)/extern LIBCHARSET_DLL_EXPORTED \1/' \ 29 | -e '/#define _LOCALCHARSET_H/r include/export.h' \ 30 | < $< > $@ 31 | 32 | totally-clean : force 33 | rm -f autoconf/aclocal.m4 configure config.h.in include/localcharset.h.build.in 34 | 35 | force : 36 | -------------------------------------------------------------------------------- /libiconv/srcm4/stdint_h.m4: -------------------------------------------------------------------------------- 1 | # stdint_h.m4 serial 9 2 | dnl Copyright (C) 1997-2004, 2006, 2008-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Paul Eggert. 8 | 9 | # Define HAVE_STDINT_H_WITH_UINTMAX if exists, 10 | # doesn't clash with , and declares uintmax_t. 11 | 12 | AC_DEFUN([gl_AC_HEADER_STDINT_H], 13 | [ 14 | AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], 15 | [AC_COMPILE_IFELSE( 16 | [AC_LANG_PROGRAM( 17 | [[#include 18 | #include ]], 19 | [[uintmax_t i = (uintmax_t) -1; return !i;]])], 20 | [gl_cv_header_stdint_h=yes], 21 | [gl_cv_header_stdint_h=no])]) 22 | if test $gl_cv_header_stdint_h = yes; then 23 | AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], 24 | [Define if exists, doesn't clash with , 25 | and declares uintmax_t. ]) 26 | fi 27 | ]) 28 | -------------------------------------------------------------------------------- /libiconv/srcm4/raise.m4: -------------------------------------------------------------------------------- 1 | # raise.m4 serial 3 2 | dnl Copyright (C) 2011-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_RAISE], 8 | [ 9 | AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) 10 | AC_REQUIRE([AC_CANONICAL_HOST]) 11 | AC_REQUIRE([gl_MSVC_INVAL]) 12 | AC_CHECK_FUNCS([raise]) 13 | if test $ac_cv_func_raise = no; then 14 | HAVE_RAISE=0 15 | else 16 | if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then 17 | REPLACE_RAISE=1 18 | fi 19 | m4_ifdef([gl_SIGNALBLOCKING], [ 20 | gl_SIGNALBLOCKING 21 | if test $HAVE_POSIX_SIGNALBLOCKING = 0; then 22 | m4_ifdef([gl_SIGNAL_SIGPIPE], [ 23 | gl_SIGNAL_SIGPIPE 24 | if test $gl_cv_header_signal_h_SIGPIPE != yes; then 25 | REPLACE_RAISE=1 26 | fi 27 | ], [:]) 28 | fi 29 | ]) 30 | fi 31 | ]) 32 | 33 | # Prerequisites of lib/raise.c. 34 | AC_DEFUN([gl_PREREQ_RAISE], [:]) 35 | -------------------------------------------------------------------------------- /dlls/include/ntdll_wrapper.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2017 Stefan Dösinger for CodeWeavers 3 | * 4 | * This library is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with this library; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 | */ 18 | 19 | #ifndef QEMU_NTDLL_WRAPPER_H 20 | #define QEMU_NTDLL_WRAPPER_H 21 | 22 | struct qemu_ntdll_wait_work_item 23 | { 24 | HANDLE host_handle; 25 | uint64_t context; 26 | uint64_t guest_cb; 27 | uint64_t wrapper; 28 | }; 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /libiconv/libcharset/lib/ref-add.sin: -------------------------------------------------------------------------------- 1 | # Add this package to a list of references stored in a text file. 2 | # 3 | # Copyright (C) 2000 Free Software Foundation, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify it 6 | # under the terms of the GNU Library General Public License as published 7 | # by the Free Software Foundation; either version 2, or (at your option) 8 | # any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | # Library General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU Library General Public License 16 | # along with this program; if not, see . 17 | # 18 | # Written by Bruno Haible . 19 | # 20 | /^# Packages using this file: / { 21 | s/# Packages using this file:// 22 | ta 23 | :a 24 | s/ @PACKAGE@ / @PACKAGE@ / 25 | tb 26 | s/ $/ @PACKAGE@ / 27 | :b 28 | s/^/# Packages using this file:/ 29 | } 30 | -------------------------------------------------------------------------------- /libiconv/srclib/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Makefile for the srclib subdirectory of GNU libiconv 2 | ## Copyright (C) 2003-2006, 2009, 2016 Free Software Foundation, Inc. 3 | ## 4 | ## This program is free software; you can redistribute it and/or modify 5 | ## it under the terms of the GNU General Public License as published by 6 | ## the Free Software Foundation; either version 2, or (at your option) 7 | ## any later version. 8 | ## 9 | ## This program is distributed in the hope that it will be useful, 10 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | ## GNU General Public License for more details. 13 | ## 14 | ## You should have received a copy of the GNU General Public License 15 | ## along with this program; if not, see . 16 | 17 | ## Process this file with automake to produce Makefile.in. 18 | 19 | AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects no-dependencies 20 | EXTRA_DIST = 21 | BUILT_SOURCES = 22 | MOSTLYCLEANFILES = core *.stackdump 23 | MOSTLYCLEANDIRS = 24 | 25 | noinst_LIBRARIES = 26 | 27 | AM_CPPFLAGS = 28 | 29 | include Makefile.gnulib 30 | -------------------------------------------------------------------------------- /libiconv/srcm4/inttypes_h.m4: -------------------------------------------------------------------------------- 1 | # inttypes_h.m4 serial 10 2 | dnl Copyright (C) 1997-2004, 2006, 2008-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Paul Eggert. 8 | 9 | # Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, 10 | # doesn't clash with , and declares uintmax_t. 11 | 12 | AC_DEFUN([gl_AC_HEADER_INTTYPES_H], 13 | [ 14 | AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], 15 | [AC_COMPILE_IFELSE( 16 | [AC_LANG_PROGRAM( 17 | [[ 18 | #include 19 | #include 20 | ]], 21 | [[uintmax_t i = (uintmax_t) -1; return !i;]])], 22 | [gl_cv_header_inttypes_h=yes], 23 | [gl_cv_header_inttypes_h=no])]) 24 | if test $gl_cv_header_inttypes_h = yes; then 25 | AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], 26 | [Define if exists, doesn't clash with , 27 | and declares uintmax_t. ]) 28 | fi 29 | ]) 30 | -------------------------------------------------------------------------------- /libiconv/man/iconv_close.3: -------------------------------------------------------------------------------- 1 | .\" Copyright (c) Free Software Foundation, Inc. 2 | .\" 3 | .\" This is free documentation; you can redistribute it and/or 4 | .\" modify it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 3 of 6 | .\" the License, or (at your option) any later version. 7 | .\" 8 | .\" References consulted: 9 | .\" GNU glibc-2 source code and manual 10 | .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html 11 | .\" 12 | .TH ICONV_CLOSE 3 "March 31, 2007" "GNU" "Linux Programmer's Manual" 13 | .SH NAME 14 | iconv_close \- deallocate descriptor for character set conversion 15 | .SH SYNOPSIS 16 | .nf 17 | .B #include 18 | .sp 19 | .BI "int iconv_close (iconv_t " cd ); 20 | .fi 21 | .SH DESCRIPTION 22 | The \fBiconv_close\fP function deallocates a conversion descriptor \fIcd\fP 23 | previously allocated using \fBiconv_open\fP. 24 | .SH "RETURN VALUE" 25 | When successful, the \fBiconv_close\fP function returns 0. In case of error, 26 | it sets \fBerrno\fP and returns \-1. 27 | .SH "CONFORMING TO" 28 | POSIX:2001 29 | .SH "SEE ALSO" 30 | .BR iconv_open (3) 31 | .BR iconv (3) 32 | -------------------------------------------------------------------------------- /libiconv/srcm4/limits-h.m4: -------------------------------------------------------------------------------- 1 | dnl Check whether limits.h has needed features. 2 | 3 | dnl Copyright 2016-2017 Free Software Foundation, Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | dnl From Paul Eggert. 9 | 10 | AC_DEFUN_ONCE([gl_LIMITS_H], 11 | [ 12 | gl_CHECK_NEXT_HEADERS([limits.h]) 13 | 14 | AC_CACHE_CHECK([whether limits.h has ULLONG_WIDTH etc.], 15 | [gl_cv_header_limits_width], 16 | [AC_COMPILE_IFELSE( 17 | [AC_LANG_PROGRAM([[#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 18 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 19 | #endif 20 | #include 21 | int ullw = ULLONG_WIDTH;]])], 22 | [gl_cv_header_limits_width=yes], 23 | [gl_cv_header_limits_width=no])]) 24 | if test "$gl_cv_header_limits_width" = yes; then 25 | LIMITS_H= 26 | else 27 | LIMITS_H=limits.h 28 | fi 29 | AC_SUBST([LIMITS_H]) 30 | AM_CONDITIONAL([GL_GENERATE_LIMITS_H], [test -n "$LIMITS_H"]) 31 | ]) 32 | -------------------------------------------------------------------------------- /libiconv/lib/cp943.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1999-2001 Free Software Foundation, Inc. 3 | * This file is part of the GNU LIBICONV Library. 4 | * 5 | * The GNU LIBICONV Library is free software; you can redistribute it 6 | * and/or modify it under the terms of the GNU Library General Public 7 | * License as published by the Free Software Foundation; either version 2 8 | * of the License, or (at your option) any later version. 9 | * 10 | * The GNU LIBICONV Library is distributed in the hope that it will be 11 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Library General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Library General Public 16 | * License along with the GNU LIBICONV Library; see the file COPYING.LIB. 17 | * If not, see . 18 | */ 19 | 20 | /* 21 | * IBM CP943 22 | */ 23 | 24 | /* This is essentially CP932, with many mappings missing in the AIX conversion 25 | table. We just pretend it were the same as CP932. */ 26 | 27 | #define cp943_mbtowc cp932_mbtowc 28 | #define cp943_wctomb cp932_wctomb 29 | -------------------------------------------------------------------------------- /libiconv/libcharset/djgpp/Makefile.maint: -------------------------------------------------------------------------------- 1 | # Maintainer's Makefile -*-Makefile-*- 2 | 3 | top_srcdir = .. 4 | srcdir = . 5 | 6 | SHELL = /bin/sh 7 | 8 | all: README fnchange.lst 9 | 10 | fnchange.lst: fnchange.in $(top_srcdir)/configure.ac 11 | rm -f $@; \ 12 | PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.ac | sed -e 's/^PACKAGE=//'`; \ 13 | VERSION=`grep "^VERSION=" $(top_srcdir)/configure.ac | sed -e 's/^VERSION=//'`; \ 14 | sed \ 15 | -e '/^#/d' \ 16 | -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \ 17 | $(srcdir)/fnchange.in > t-$@ 18 | mv t-$@ $@ 19 | 20 | README: README.in $(top_srcdir)/configure.ac 21 | rm -f $@; \ 22 | PACKAGE=`grep "^PACKAGE=" $(top_srcdir)/configure.ac | sed -e 's/^PACKAGE=//'`; \ 23 | VERSION=`grep "^VERSION=" $(top_srcdir)/configure.ac | sed -e 's/^VERSION=//'`; \ 24 | packageversion=`echo "$${VERSION}" | sed 's/\.//g'`; \ 25 | treeversion=`echo "$${VERSION}" | sed 's/\.//g'`; \ 26 | sed \ 27 | -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \ 28 | -e "s/@VER@/$${VERSION}/g" \ 29 | -e "s/@packageversion@/$$packageversion/g" \ 30 | -e "s/@treeversion@/$$treeversion/g" \ 31 | $(srcdir)/README.in > t-$@ 32 | mv t-$@ $@ 33 | -------------------------------------------------------------------------------- /libiconv/srcm4/alloca.m4: -------------------------------------------------------------------------------- 1 | # alloca.m4 serial 4 (gettext-0.18.2) 2 | dnl Copyright (C) 2002-2003, 2006, 2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_ALLOCA], 8 | [ 9 | dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. 10 | AC_REQUIRE([AC_PROG_CPP]) 11 | AC_REQUIRE([AC_PROG_EGREP]) 12 | 13 | AC_REQUIRE([AC_FUNC_ALLOCA]) 14 | if test $ac_cv_func_alloca_works = no; then 15 | gl_PREREQ_ALLOCA 16 | fi 17 | 18 | # Define an additional variable used in the Makefile substitution. 19 | 20 | AC_EGREP_CPP([Need own alloca], [ 21 | #if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H 22 | Need own alloca 23 | #endif 24 | ], 25 | ALLOCA_H=alloca.h, 26 | ALLOCA_H=) 27 | AC_SUBST([ALLOCA_H]) 28 | AM_CONDITIONAL([GL_GENERATE_ALLOCA_H], [test -n "$ALLOCA_H"]) 29 | ]) 30 | 31 | # Prerequisites of lib/alloca.c. 32 | # STACK_DIRECTION is already handled by AC_FUNC_ALLOCA. 33 | AC_DEFUN([gl_PREREQ_ALLOCA], [ 34 | AC_CHECK_HEADERS_ONCE(stdlib.h string.h) 35 | : 36 | ]) 37 | -------------------------------------------------------------------------------- /libiconv/gnulib-local/m4/alloca.m4: -------------------------------------------------------------------------------- 1 | # alloca.m4 serial 4 (gettext-0.18.2) 2 | dnl Copyright (C) 2002-2003, 2006, 2011 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_ALLOCA], 8 | [ 9 | dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. 10 | AC_REQUIRE([AC_PROG_CPP]) 11 | AC_REQUIRE([AC_PROG_EGREP]) 12 | 13 | AC_REQUIRE([AC_FUNC_ALLOCA]) 14 | if test $ac_cv_func_alloca_works = no; then 15 | gl_PREREQ_ALLOCA 16 | fi 17 | 18 | # Define an additional variable used in the Makefile substitution. 19 | 20 | AC_EGREP_CPP([Need own alloca], [ 21 | #if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H 22 | Need own alloca 23 | #endif 24 | ], 25 | ALLOCA_H=alloca.h, 26 | ALLOCA_H=) 27 | AC_SUBST([ALLOCA_H]) 28 | AM_CONDITIONAL([GL_GENERATE_ALLOCA_H], [test -n "$ALLOCA_H"]) 29 | ]) 30 | 31 | # Prerequisites of lib/alloca.c. 32 | # STACK_DIRECTION is already handled by AC_FUNC_ALLOCA. 33 | AC_DEFUN([gl_PREREQ_ALLOCA], [ 34 | AC_CHECK_HEADERS_ONCE(stdlib.h string.h) 35 | : 36 | ]) 37 | -------------------------------------------------------------------------------- /dlls/imm32/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_IMM32 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: imm32.dll qemu_imm32.dll.so 10 | 11 | imm32.dll: imm32.spec imm_g.o main_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/imm32.spec *_g.o -lwinecrt0 -o imm32.dll -nodefaultlibs -nostdlib -lkernel32 -Wl,--image-base,0xe0000000 13 | 14 | qemu_imm32.dll.so: imm_h.o main_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_imm32.spec *_h.o -o qemu_imm32.dll.so -limm32 16 | 17 | %_g.o: %.c qemu_imm32.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_imm32.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/dinput/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_DINPUT 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: dinput.dll qemu_dinput.dll.so 10 | 11 | dinput.dll: device_g.o dinput.spec main_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/dinput.spec *_g.o -o dinput.dll -luuid -ldxguid 13 | 14 | qemu_dinput.dll.so: device_h.o main_h.o qemu_dinput.spec 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_dinput.spec *_h.o -o qemu_dinput.dll.so 16 | 17 | %_g.o: %.c qemu_dinput.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../../wine/include/wine -Wno-format 19 | 20 | %_h.o: %.c qemu_dinput.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/srcm4/uintmax_t.m4: -------------------------------------------------------------------------------- 1 | # uintmax_t.m4 serial 12 2 | dnl Copyright (C) 1997-2004, 2007-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Paul Eggert. 8 | 9 | AC_PREREQ([2.13]) 10 | 11 | # Define uintmax_t to 'unsigned long' or 'unsigned long long' 12 | # if it is not already defined in or . 13 | 14 | AC_DEFUN([gl_AC_TYPE_UINTMAX_T], 15 | [ 16 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 17 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 18 | if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then 19 | AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) 20 | test $ac_cv_type_unsigned_long_long_int = yes \ 21 | && ac_type='unsigned long long' \ 22 | || ac_type='unsigned long' 23 | AC_DEFINE_UNQUOTED([uintmax_t], [$ac_type], 24 | [Define to unsigned long or unsigned long long 25 | if and don't define.]) 26 | else 27 | AC_DEFINE([HAVE_UINTMAX_T], [1], 28 | [Define if you have the 'uintmax_t' type in or .]) 29 | fi 30 | ]) 31 | -------------------------------------------------------------------------------- /dlls/riched32/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_RICHED32 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -D_WIN32_WINNT=0x0603 -DSECURITY_WIN32 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: riched32.dll qemu_riched32.dll.so 10 | 11 | riched32.dll: main_g.o riched32.spec 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/riched32.spec *_g.o -lwinecrt0 -o riched32.dll -nodefaultlibs -nostdlib -lriched20 -L../riched20 13 | 14 | qemu_riched32.dll.so: main_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_riched32.spec *_h.o -o qemu_riched32.dll.so 16 | 17 | %_g.o: %.c qemu_riched32.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_riched32.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/usp10/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_USP10 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -D_WIN32_WINNT=0x0603 -DSECURITY_WIN32 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: usp10.dll qemu_usp10.dll.so 10 | 11 | usp10.dll: main_g.o usp10.spec usp10_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/usp10.spec *_g.o -lwinecrt0 -o usp10.dll -nodefaultlibs -nostdlib -Wl,--image-base,0xf0000000 -lkernel32 13 | 14 | qemu_usp10.dll.so: main_h.o usp10_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_usp10.spec *_h.o -o qemu_usp10.dll.so -lusp10 16 | 17 | %_g.o: %.c qemu_usp10.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_usp10.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/bcrypt/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_BCRYPT 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild --wine-objdir $(DESTDIR)/build/wine-host -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: bcrypt.dll qemu_bcrypt.dll.so 10 | 11 | bcrypt.dll: bcrypt.spec main_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/bcrypt.spec *_g.o -o bcrypt.dll 13 | 14 | qemu_bcrypt.dll.so: main_h.o qemu_bcrypt.spec 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_bcrypt.spec *_h.o -o qemu_bcrypt.dll.so -lbcrypt 16 | 17 | %_g.o: %.c qemu_bcrypt.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../../wine/include/wine -Wno-format 19 | 20 | %_h.o: %.c qemu_bcrypt.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/cabinet/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_CABINET 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: cabinet.dll qemu_cabinet.dll.so 10 | 11 | cabinet.dll: cabinet.spec fci_g.o fdi_g.o main_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/cabinet.spec *_g.o -o cabinet.dll 13 | 14 | qemu_cabinet.dll.so: fci_h.o fdi_h.o main_h.o qemu_cabinet.spec 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_cabinet.spec *_h.o -o qemu_cabinet.dll.so -lcabinet $(EXTRALIBS) 16 | 17 | %_g.o: %.c qemu_cabinet.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../../wine/include/wine -Wno-format 19 | 20 | %_h.o: %.c qemu_cabinet.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/srcm4/intmax.m4: -------------------------------------------------------------------------------- 1 | # intmax.m4 serial 6 (gettext-0.18.2) 2 | dnl Copyright (C) 2002-2005, 2008-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether the system has the 'intmax_t' type, but don't attempt to 9 | dnl find a replacement if it is lacking. 10 | 11 | AC_DEFUN([gt_TYPE_INTMAX_T], 12 | [ 13 | AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 14 | AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 15 | AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], 16 | [AC_COMPILE_IFELSE( 17 | [AC_LANG_PROGRAM( 18 | [[ 19 | #include 20 | #include 21 | #if HAVE_STDINT_H_WITH_UINTMAX 22 | #include 23 | #endif 24 | #if HAVE_INTTYPES_H_WITH_UINTMAX 25 | #include 26 | #endif 27 | ]], 28 | [[intmax_t x = -1; 29 | return !x;]])], 30 | [gt_cv_c_intmax_t=yes], 31 | [gt_cv_c_intmax_t=no])]) 32 | if test $gt_cv_c_intmax_t = yes; then 33 | AC_DEFINE([HAVE_INTMAX_T], [1], 34 | [Define if you have the 'intmax_t' type in or .]) 35 | fi 36 | ]) 37 | -------------------------------------------------------------------------------- /libiconv/lib/encodings_local.def: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2000-2001 Free Software Foundation, Inc. 2 | This file is part of the GNU LIBICONV Library. 3 | 4 | The GNU LIBICONV Library is free software; you can redistribute it 5 | and/or modify it under the terms of the GNU Library General Public 6 | License as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | The GNU LIBICONV Library is distributed in the hope that it will be 10 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | Library General Public License for more details. 13 | 14 | You should have received a copy of the GNU Library General Public 15 | License along with the GNU LIBICONV Library; see the file COPYING.LIB. 16 | If not, see . */ 17 | 18 | /* Names for locale dependent encodings. */ 19 | 20 | DEFENCODING(( "CHAR", 21 | ), 22 | local_char, 23 | { NULL, NULL }, { NULL, NULL }) 24 | 25 | DEFENCODING(( "WCHAR_T", /* glibc */ 26 | ), 27 | local_wchar_t, 28 | { NULL, NULL }, { NULL, NULL }) 29 | -------------------------------------------------------------------------------- /libiconv/windows/windres-options: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Usage: windres-options [--escape] PACKAGE_VERSION 3 | # Outputs a set of command-line options for 'windres', containing definitions 4 | # for the preprocessor variables 5 | # PACKAGE_VERSION_STRING 6 | # PACKAGE_VERSION_MAJOR 7 | # PACKAGE_VERSION_MINOR 8 | # PACKAGE_VERSION_SUBMINOR 9 | 10 | escape= 11 | if test "$1" = "--escape"; then 12 | escape=yes 13 | shift 14 | fi 15 | version="$1" # something like 2.0 or 2.17 or 2.17.3 or 2.17.3-pre3 16 | 17 | sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;} 18 | i\ 19 | 0 20 | q 21 | ' 22 | sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;} 23 | i\ 24 | 0 25 | q 26 | ' 27 | sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;} 28 | i\ 29 | 0 30 | q 31 | ' 32 | 33 | { 34 | echo "-DPACKAGE_VERSION_STRING=\"${version}\"" 35 | echo "-DPACKAGE_VERSION_MAJOR="`echo "${version}" | sed -n -e "$sed_extract_major"` 36 | echo "-DPACKAGE_VERSION_MINOR="`echo "${version}" | sed -n -e "$sed_extract_minor"` 37 | echo "-DPACKAGE_VERSION_SUBMINOR="`echo "${version}" | sed -n -e "$sed_extract_subminor"` 38 | } | 39 | { 40 | if test -n "$escape"; then 41 | sed -e 's,\(["\\]\),\\\1,g' 42 | else 43 | cat 44 | fi 45 | } 46 | -------------------------------------------------------------------------------- /dlls/xinput1_3/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_XINPUT1_3 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: xinput1_3.dll qemu_xinput1_3.dll.so 10 | 11 | xinput1_3.dll: main_g.o xinput1_3.spec xinput1_3_main_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/xinput1_3.spec *_g.o -lwinecrt0 -o xinput1_3.dll -nodefaultlibs -nostdlib -Wl,--image-base,0x130000000 13 | 14 | qemu_xinput1_3.dll.so: main_h.o xinput1_3_main_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_xinput1_3.spec *_h.o -o qemu_xinput1_3.dll.so -lxinput 16 | 17 | %_g.o: %.c qemu_xinput1_3.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_xinput1_3.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/djgpp/Makefile.maint: -------------------------------------------------------------------------------- 1 | # Maintainer's Makefile -*-Makefile-*- 2 | 3 | top_srcdir = .. 4 | srcdir = . 5 | 6 | SHELL = /bin/sh 7 | 8 | all: README fnchange.lst 9 | 10 | fnchange.lst: fnchange.in $(top_srcdir)/configure.ac 11 | rm -f $@; \ 12 | PACKAGE=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*(\([A-Za-z]*\),.*$$/\1/'`; \ 13 | VERSION=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*,[ ]\([0-9.]*\).*$$/\1/'`; \ 14 | sed \ 15 | -e '/^#/d' \ 16 | -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \ 17 | $(srcdir)/fnchange.in > t-$@ 18 | mv t-$@ $@ 19 | 20 | README: README.in $(top_srcdir)/configure.ac 21 | rm -f $@; \ 22 | PACKAGE=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*(\([A-Za-z]*\),.*$$/\1/'`; \ 23 | VERSION=`grep "^AM_INIT_AUTOMAKE(" $(top_srcdir)/configure.ac | sed -e 's/^.*,[ ]\([0-9.]*\).*$$/\1/'`; \ 24 | packageversion=`echo "$${VERSION}" | sed 's/\.//g'`; \ 25 | treeversion=`echo "$${VERSION}" | sed 's/\.//g'`; \ 26 | sed \ 27 | -e "s/@V@/$${PACKAGE}-$${VERSION}/g" \ 28 | -e "s/@VER@/$${VERSION}/g" \ 29 | -e "s/@packageversion@/$$packageversion/g" \ 30 | -e "s/@treeversion@/$$treeversion/g" \ 31 | $(srcdir)/README.in > t-$@ 32 | mv t-$@ $@ 33 | -------------------------------------------------------------------------------- /libiconv/po/en@quot.header: -------------------------------------------------------------------------------- 1 | # All this catalog "translates" are quotation characters. 2 | # The msgids must be ASCII and therefore cannot contain real quotation 3 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27) 4 | # and double quote (0x22). These substitutes look strange; see 5 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html 6 | # 7 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to 8 | # left single quotation mark (U+2018) and right single quotation mark (U+2019). 9 | # It also translates pairs of apostrophe (0x27) to 10 | # left single quotation mark (U+2018) and right single quotation mark (U+2019) 11 | # and pairs of quotation mark (0x22) to 12 | # left double quotation mark (U+201C) and right double quotation mark (U+201D). 13 | # 14 | # When output to an UTF-8 terminal, the quotation characters appear perfectly. 15 | # When output to an ISO-8859-1 terminal, the single quotation marks are 16 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to 17 | # grave/acute accent (by libiconv), and the double quotation marks are 18 | # transliterated to 0x22. 19 | # When output to an ASCII terminal, the single quotation marks are 20 | # transliterated to apostrophes, and the double quotation marks are 21 | # transliterated to 0x22. 22 | # 23 | -------------------------------------------------------------------------------- /libiconv/tools/CP50221-0208-EXT.TXT: -------------------------------------------------------------------------------- 1 | # CP50221, section JIS X 0208, row 0x2D. 2 | 0x01 0x2460 3 | 0x02 0x2461 4 | 0x03 0x2462 5 | 0x04 0x2463 6 | 0x05 0x2464 7 | 0x06 0x2465 8 | 0x07 0x2466 9 | 0x08 0x2467 10 | 0x09 0x2468 11 | 0x0A 0x2469 12 | 0x0B 0x246A 13 | 0x0C 0x246B 14 | 0x0D 0x246C 15 | 0x0E 0x246D 16 | 0x0F 0x246E 17 | 0x10 0x246F 18 | 0x11 0x2470 19 | 0x12 0x2471 20 | 0x13 0x2472 21 | 0x14 0x2473 22 | 0x15 0x2160 23 | 0x16 0x2161 24 | 0x17 0x2162 25 | 0x18 0x2163 26 | 0x19 0x2164 27 | 0x1A 0x2165 28 | 0x1B 0x2166 29 | 0x1C 0x2167 30 | 0x1D 0x2168 31 | 0x1E 0x2169 32 | 0x20 0x3349 33 | 0x21 0x3314 34 | 0x22 0x3322 35 | 0x23 0x334D 36 | 0x24 0x3318 37 | 0x25 0x3327 38 | 0x26 0x3303 39 | 0x27 0x3336 40 | 0x28 0x3351 41 | 0x29 0x3357 42 | 0x2A 0x330D 43 | 0x2B 0x3326 44 | 0x2C 0x3323 45 | 0x2D 0x332B 46 | 0x2E 0x334A 47 | 0x2F 0x333B 48 | 0x30 0x339C 49 | 0x31 0x339D 50 | 0x32 0x339E 51 | 0x33 0x338E 52 | 0x34 0x338F 53 | 0x35 0x33C4 54 | 0x36 0x33A1 55 | 0x3F 0x337B 56 | 0x40 0x301E 57 | 0x41 0x301F 58 | 0x42 0x2116 59 | 0x43 0x33CD 60 | 0x44 0x2121 61 | 0x45 0x32A4 62 | 0x46 0x32A5 63 | 0x47 0x32A6 64 | 0x48 0x32A7 65 | 0x49 0x32A8 66 | 0x4A 0x3231 67 | 0x4B 0x3232 68 | 0x4C 0x3239 69 | 0x4D 0x337E 70 | 0x4E 0x337D 71 | 0x4F 0x337C 72 | 0x53 0x222E 73 | 0x54 0x2211 74 | 0x58 0x221F 75 | 0x59 0x22BF 76 | -------------------------------------------------------------------------------- /libiconv/lib/flushwc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2001 Free Software Foundation, Inc. 3 | * This file is part of the GNU LIBICONV Library. 4 | * 5 | * The GNU LIBICONV Library is free software; you can redistribute it 6 | * and/or modify it under the terms of the GNU Library General Public 7 | * License as published by the Free Software Foundation; either version 2 8 | * of the License, or (at your option) any later version. 9 | * 10 | * The GNU LIBICONV Library is distributed in the hope that it will be 11 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Library General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Library General Public 16 | * License along with the GNU LIBICONV Library; see the file COPYING.LIB. 17 | * If not, see . 18 | */ 19 | 20 | #ifndef _FLUSHWC_H 21 | #define _FLUSHWC_H 22 | 23 | static int 24 | normal_flushwc (conv_t conv, ucs4_t *pwc) 25 | { 26 | ucs4_t last_wc = conv->istate; 27 | if (last_wc) { 28 | /* Output the buffered character. */ 29 | conv->istate = 0; 30 | *pwc = (ucs4_t) last_wc; 31 | return 1; 32 | } else 33 | return 0; 34 | } 35 | 36 | #endif /* _FLUSHWC_H */ 37 | -------------------------------------------------------------------------------- /dlls/ws2_32/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_WS2_32 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -D_WIN32_WINNT=0x0603 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -fcommon 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: ws2_32.dll qemu_ws2_32.dll.so 10 | 11 | ws2_32.dll: async_g.o main_g.o socket_g.o ws2_32.spec 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/ws2_32.spec *_g.o -lwinecrt0 -o ws2_32.dll -nodefaultlibs -nostdlib -lkernel32 -Wl,--image-base,0x170000000 13 | 14 | qemu_ws2_32.dll.so: async_h.o main_h.o socket_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_ws2_32.spec *_h.o -o qemu_ws2_32.dll.so -lws2_32 $(EXTRALIBS) 16 | 17 | %_g.o: %.c qemu_ws2_32.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_ws2_32.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) -DUSE_WS_PREFIX 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/wsock32/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_WSOCK32 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: wsock32.dll qemu_wsock32.dll.so 10 | 11 | wsock32.dll: main_g.o protocol_g.o service_g.o socket_g.o wsock32.spec 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/wsock32.spec *_g.o -lwinecrt0 -o wsock32.dll -nodefaultlibs -nostdlib -lkernel32 -Wl,--image-base,0x160000000 13 | 14 | qemu_wsock32.dll.so: main_h.o protocol_h.o service_h.o socket_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_wsock32.spec *_h.o -o qemu_wsock32.dll.so -lwsock32 16 | 17 | %_g.o: %.c qemu_wsock32.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_wsock32.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/libcharset/tools/all-charsets-X11: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Prints a table of the charsets (system dependent name, portable name, and 4 | # X11 name) for all locales. 5 | 6 | ${CC-cc} -o locale_codeset locale_codeset.c 7 | ${CC-cc} -o locale_charset -I../include locale_charset.c \ 8 | -DHAVE_CONFIG_H -I.. -DLIBDIR='"'`cd ../lib && pwd`'"' \ 9 | ../lib/localcharset.c 10 | ${CC-cc} -o locale_x11encoding locale_x11encoding.c \ 11 | -I/usr/X11R6/include \ 12 | -L/usr/X11R6/lib -lX11 13 | #${CC-cc} -o locale_x11encoding locale_x11encoding.c \ 14 | # -I/packages/gnu/XFree86/include \ 15 | # -L/packages/gnu/XFree86/lib -lX11 \ 16 | # -Wl,-rpath,/packages/gnu/XFree86/lib 17 | 18 | printf '%-15s%-17s%-17s %-17s %-17s\n\n' \ 19 | "locale name" "locale charmap" "nl_langinfo(CODESET)" "locale_charset()" "X11 encoding" 20 | for lc in `./all-locales | sort | uniq` 21 | do 22 | charmap=`LC_ALL=$lc ./locale_charmap 2>/dev/null || echo ''` 23 | codeset=`LC_ALL=$lc ./locale_codeset 2>/dev/null || echo ''` 24 | charset=`LC_ALL=$lc ./locale_charset 2>/dev/null || echo ''` 25 | x11encoding=`LC_ALL=$lc ./locale_x11encoding 2>/dev/null || echo ''` 26 | printf '%-15s %-17s %-17s %-17s %-17s\n' \ 27 | "$lc" "$charmap" "$codeset" "$charset" "$x11encoding" 28 | done 29 | -------------------------------------------------------------------------------- /dlls/include/istream_wrapper.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2018 Stefan Dösinger for CodeWeavers 3 | * 4 | * This library is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with this library; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 | */ 18 | 19 | #ifndef ISTREAM_WRAPPER_H 20 | #define ISTREAM_WRAPPER_H 21 | 22 | #include 23 | 24 | struct istream_wrapper; 25 | 26 | struct istream_wrapper *istream_wrapper_create(uint64_t guest_iface); 27 | struct istream_wrapper *istream_wrapper_from_IStream(IStream *iface); 28 | uint64_t istream_wrapper_guest_iface(struct istream_wrapper *wrapper); 29 | IStream * istream_wrapper_host_iface(struct istream_wrapper *wrapper); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /dlls/winspool.drv/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_WINSPOOL 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: winspool.drv qemu_winspool.drv.so 10 | 11 | winspool.drv: winspool.drv.spec main_g.o info_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/winspool.drv.spec *_g.o -lwinecrt0 -o winspool.drv -nodefaultlibs -nostdlib -lkernel32 13 | 14 | qemu_winspool.drv.so: main_h.o info_h.o qemu_winspool.drv.spec 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_winspool.drv.spec *_h.o -o qemu_winspool.drv.so -lwinspool 16 | 17 | %_g.o: %.c qemu_winspool.drv.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../../wine/include/wine 19 | 20 | %_h.o: %.c qemu_winspool.drv.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/srclib/getprogname.h: -------------------------------------------------------------------------------- 1 | /* Program name management. 2 | Copyright (C) 2016-2017 Free Software Foundation, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . */ 16 | 17 | #ifndef _GL_GETPROGNAME_H 18 | #define _GL_GETPROGNAME_H 19 | 20 | #include 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | /* Return the base name of the executing program. 27 | On native Windows this will usually end in ".exe" or ".EXE". */ 28 | #ifndef HAVE_GETPROGNAME 29 | extern char const *getprogname (void) 30 | # ifdef HAVE_DECL_PROGRAM_INVOCATION_NAME 31 | _GL_ATTRIBUTE_PURE 32 | # endif 33 | ; 34 | #endif 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /dlls/mmdevapi/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_MMDEVAPI 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -DCONST_VTABLE -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: mmdevapi.dll qemu_mmdevapi.dll.so 10 | 11 | mmdevapi.dll: audiovolume_g.o devenum_g.o driver_g.o main_g.o mmdevapi.spec 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/mmdevapi.spec *_g.o -o mmdevapi.dll -lole32 -loleaut32 13 | 14 | qemu_mmdevapi.dll.so: audiovolume_h.o devenum_h.o driver_h.o main_h.o qemu_mmdevapi.spec 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_mmdevapi.spec *_h.o -o qemu_mmdevapi.dll.so -lole32 16 | 17 | %_g.o: %.c qemu_mmdevapi.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../../wine/include/wine -Wno-format 19 | 20 | %_h.o: %.c qemu_mmdevapi.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/riched20/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_RICHED20 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -D_WIN32_WINNT=0x0603 -DSECURITY_WIN32 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: riched20.dll qemu_riched20.dll.so 10 | 11 | riched20.dll: editor_g.o main_g.o riched20.spec txtsrv_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/riched20.spec *_g.o -lwinecrt0 -o riched20.dll -nodefaultlibs -nostdlib -Wl,--image-base,0x110000000 13 | 14 | qemu_riched20.dll.so: editor_h.o main_h.o txtsrv_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_riched20.spec *_h.o -o qemu_riched20.dll.so -lriched20 -luser32 -luuid 16 | 17 | %_g.o: %.c qemu_riched20.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_riched20.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) -DUSE_WS_PREFIX 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/build-aux/snippet/arg-nonnull.h: -------------------------------------------------------------------------------- 1 | /* A C macro for declaring that specific arguments must not be NULL. 2 | Copyright (C) 2009-2017 Free Software Foundation, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify it 5 | under the terms of the GNU General Public License as published 6 | by the Free Software Foundation; either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . */ 16 | 17 | /* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools 18 | that the values passed as arguments n, ..., m must be non-NULL pointers. 19 | n = 1 stands for the first argument, n = 2 for the second argument etc. */ 20 | #ifndef _GL_ARG_NONNULL 21 | # if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 22 | # define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) 23 | # else 24 | # define _GL_ARG_NONNULL(params) 25 | # endif 26 | #endif 27 | -------------------------------------------------------------------------------- /libiconv/srcm4/pathmax.m4: -------------------------------------------------------------------------------- 1 | # pathmax.m4 serial 10 2 | dnl Copyright (C) 2002-2003, 2005-2006, 2009-2017 Free Software Foundation, 3 | dnl Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_PATHMAX], 9 | [ 10 | dnl Prerequisites of lib/pathmax.h. 11 | AC_CHECK_HEADERS_ONCE([sys/param.h]) 12 | ]) 13 | 14 | # Expands to a piece of C program that defines PATH_MAX in the same way as 15 | # "pathmax.h" will do. 16 | AC_DEFUN([gl_PATHMAX_SNIPPET], [[ 17 | /* Arrange to define PATH_MAX, like "pathmax.h" does. */ 18 | #if HAVE_UNISTD_H 19 | # include 20 | #endif 21 | #include 22 | #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN 23 | # include 24 | #endif 25 | #if !defined PATH_MAX && defined MAXPATHLEN 26 | # define PATH_MAX MAXPATHLEN 27 | #endif 28 | #ifdef __hpux 29 | # undef PATH_MAX 30 | # define PATH_MAX 1024 31 | #endif 32 | #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ 33 | # undef PATH_MAX 34 | # define PATH_MAX 260 35 | #endif 36 | ]]) 37 | 38 | # Prerequisites of gl_PATHMAX_SNIPPET. 39 | AC_DEFUN([gl_PATHMAX_SNIPPET_PREREQ], 40 | [ 41 | AC_CHECK_HEADERS_ONCE([unistd.h sys/param.h]) 42 | ]) 43 | -------------------------------------------------------------------------------- /dlls/advpack/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_ADVPACK 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -D_WIN32_WINNT=0x0603 -DSECURITY_WIN32 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: advpack.dll qemu_advpack.dll.so 10 | 11 | advpack.dll: advpack.spec advpack_g.o files_g.o install_g.o main_g.o reg_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/advpack.spec *_g.o -lwinecrt0 -o advpack.dll -nodefaultlibs -nostdlib -Wl,--image-base,0x1b0000000 13 | 14 | qemu_advpack.dll.so: advpack_h.o files_h.o install_h.o main_h.o reg_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_advpack.spec *_h.o -o qemu_advpack.dll.so -ladvpack 16 | 17 | %_g.o: %.c qemu_advpack.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_advpack.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) -DUSE_WS_PREFIX 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/opengl32/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_OPENGL32 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 -fcommon 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: opengl32.dll qemu_opengl32.dll.so 10 | 11 | opengl32.dll: opengl32.spec main_g.o opengl_ext_g.o opengl_norm_g.o wgl_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/opengl32.spec *_g.o -o opengl32.dll -lmsvcrt 13 | 14 | qemu_opengl32.dll.so: main_h.o opengl_calls_h.o opengl_ext_h.o opengl_norm_h.o wgl_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_opengl32.spec *_h.o -o qemu_opengl32.dll.so -lopengl32 -fcommon 16 | 17 | %_g.o: %.c qemu_opengl32.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../wine-guest32/include -I../../../wine/include 19 | 20 | %_h.o: %.c qemu_opengl32.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/secur32/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_SECUR32 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -D_WIN32_WINNT=0x0603 -DSECURITY_WIN32 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: secur32.dll qemu_secur32.dll.so 10 | 11 | secur32.dll: lsa_g.o main_g.o secur32.spec secur32_g.o wrapper_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/secur32.spec *_g.o -lwinecrt0 -o secur32.dll -nodefaultlibs -nostdlib -Wl,--image-base,0x190000000 -lkernel32 13 | 14 | qemu_secur32.dll.so: lsa_h.o main_h.o secur32_h.o wrapper_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_secur32.spec *_h.o -o qemu_secur32.dll.so -lsecur32 -DUSE_WS_PREFIX 16 | 17 | %_g.o: %.c qemu_secur32.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_secur32.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) -DUSE_WS_PREFIX 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/dxgi/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_DXGI 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: dxgi.dll qemu_dxgi.dll.so 10 | 11 | dxgi.dll: adapter_g.o device_g.o dxgi.spec factory_g.o main_g.o output_g.o surface_g.o swapchain_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/dxgi.spec *_g.o -o dxgi.dll -ldxguid -luuid 13 | 14 | qemu_dxgi.dll.so: adapter_h.o device_h.o factory_h.o main_h.o output_h.o qemu_dxgi.spec surface_h.o swapchain_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_dxgi.spec *_h.o -o qemu_dxgi.dll.so -ldxgi -ldxguid 16 | 17 | %_g.o: %.c qemu_dxgi.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../wine-guest32/include -I../../../wine/include -Wno-format 19 | 20 | %_h.o: %.c qemu_dxgi.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/srcm4/nls.m4: -------------------------------------------------------------------------------- 1 | # nls.m4 serial 5 (gettext-0.18) 2 | dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016-2017 Free Software 3 | dnl Foundation, Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | dnl 8 | dnl This file can be used in projects which are not available under 9 | dnl the GNU General Public License or the GNU Library General Public 10 | dnl License but which still want to provide support for the GNU gettext 11 | dnl functionality. 12 | dnl Please note that the actual code of the GNU gettext library is covered 13 | dnl by the GNU Library General Public License, and the rest of the GNU 14 | dnl gettext package is covered by the GNU General Public License. 15 | dnl They are *not* in the public domain. 16 | 17 | dnl Authors: 18 | dnl Ulrich Drepper , 1995-2000. 19 | dnl Bruno Haible , 2000-2003. 20 | 21 | AC_PREREQ([2.50]) 22 | 23 | AC_DEFUN([AM_NLS], 24 | [ 25 | AC_MSG_CHECKING([whether NLS is requested]) 26 | dnl Default is enabled NLS 27 | AC_ARG_ENABLE([nls], 28 | [ --disable-nls do not use Native Language Support], 29 | USE_NLS=$enableval, USE_NLS=yes) 30 | AC_MSG_RESULT([$USE_NLS]) 31 | AC_SUBST([USE_NLS]) 32 | ]) 33 | -------------------------------------------------------------------------------- /dlls/include/dll_list.h: -------------------------------------------------------------------------------- 1 | #ifndef DLL_LIST_H 2 | #define DLL_LIST_H 3 | 4 | #define DLL_NTDLL 0x01LL 5 | #define DLL_KERNEL32 0x02LL 6 | #define DLL_MSVCRT 0x03LL 7 | #define DLL_ADVAPI32 0x04LL 8 | #define DLL_GDI32 0x05LL 9 | #define DLL_USER32 0x06LL 10 | #define DLL_MSVCR100 0x07LL 11 | #define DLL_D3D9 0x08LL 12 | #define DLL_IMM32 0x09LL 13 | #define DLL_USP10 0x0aLL 14 | #define DLL_RICHED20 0x0bLL 15 | #define DLL_XINPUT1_3 0x0cLL 16 | #define DLL_OPENGL32 0x0dLL 17 | #define DLL_WINMM 0x0eLL 18 | #define DLL_WSOCK32 0x0fLL 19 | #define DLL_WS2_32 0x10LL 20 | #define DLL_IPHLPAPI 0x11LL 21 | #define DLL_SECUR32 0x12LL 22 | #define DLL_ADVPACK 0x13LL 23 | #define DLL_DSOUND 0x14LL 24 | #define DLL_MSVCR80 0x15LL 25 | #define DLL_RICHED32 0x16LL 26 | #define DLL_DDRAW 0x17LL 27 | #define DLL_WINSPOOL 0x18LL 28 | #define DLL_DINPUT 0x19LL 29 | #define DLL_BCRYPT 0x1aLL 30 | #define DLL_CABINET 0x1bLL 31 | #define DLL_CRYPT32 0x1cLL 32 | #define DLL_DXGI 0x1dLL 33 | #define DLL_D3D11 0x1eLL 34 | #define DLL_MMDEVAPI 0x1fLL 35 | #define DLL_WINDOWSCODECS 0x20LL 36 | #define DLL_UCRTBASE 0x21LL 37 | 38 | #endif 39 | -------------------------------------------------------------------------------- /dlls/winmm/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_WINMM 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: winmm.dll qemu_winmm.dll.so 10 | 11 | winmm.dll: driver_g.o joystick_g.o main_g.o mci_g.o mmio_g.o playsound_g.o time_g.o waveform_g.o winmm.spec winmm_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/winmm.spec *_g.o -lwinecrt0 -o winmm.dll -nodefaultlibs -nostdlib -lkernel32 13 | 14 | qemu_winmm.dll.so: driver_h.o joystick_h.o main_h.o mci_h.o mmio_h.o playsound_h.o time_h.o waveform_h.o winmm_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_winmm.spec *_h.o -o qemu_winmm.dll.so -lwinmm -luser32 16 | 17 | %_g.o: %.c qemu_winmm.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_winmm.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/lib/aliases2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1999-2003, 2008 Free Software Foundation, Inc. 3 | * This file is part of the GNU LIBICONV Library. 4 | * 5 | * The GNU LIBICONV Library is free software; you can redistribute it 6 | * and/or modify it under the terms of the GNU Library General Public 7 | * License as published by the Free Software Foundation; either version 2 8 | * of the License, or (at your option) any later version. 9 | * 10 | * The GNU LIBICONV Library is distributed in the hope that it will be 11 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Library General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Library General Public 16 | * License along with the GNU LIBICONV Library; see the file COPYING.LIB. 17 | * If not, see . 18 | */ 19 | 20 | #ifdef USE_AIX 21 | # if defined _AIX 22 | # include "aliases_aix_sysaix.h" 23 | # else 24 | # include "aliases_aix.h" 25 | # endif 26 | #endif 27 | #ifdef USE_OSF1 28 | # if defined __osf__ 29 | # include "aliases_osf1_sysosf1.h" 30 | # else 31 | # include "aliases_osf1.h" 32 | # endif 33 | #endif 34 | #ifdef USE_DOS 35 | # include "aliases_dos.h" 36 | #endif 37 | #ifdef USE_EXTRA 38 | # include "aliases_extra.h" 39 | #endif 40 | -------------------------------------------------------------------------------- /libiconv/lib/iso8859_1.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc. 3 | * This file is part of the GNU LIBICONV Library. 4 | * 5 | * The GNU LIBICONV Library is free software; you can redistribute it 6 | * and/or modify it under the terms of the GNU Library General Public 7 | * License as published by the Free Software Foundation; either version 2 8 | * of the License, or (at your option) any later version. 9 | * 10 | * The GNU LIBICONV Library is distributed in the hope that it will be 11 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Library General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Library General Public 16 | * License along with the GNU LIBICONV Library; see the file COPYING.LIB. 17 | * If not, see . 18 | */ 19 | 20 | /* 21 | * ISO-8859-1 22 | */ 23 | 24 | static int 25 | iso8859_1_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n) 26 | { 27 | unsigned char c = *s; 28 | *pwc = (ucs4_t) c; 29 | return 1; 30 | } 31 | 32 | static int 33 | iso8859_1_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n) 34 | { 35 | if (wc < 0x0100) { 36 | *r = wc; 37 | return 1; 38 | } 39 | return RET_ILUNI; 40 | } 41 | -------------------------------------------------------------------------------- /libiconv/srclib/areadlink.h: -------------------------------------------------------------------------------- 1 | /* Read symbolic links without size limitation. 2 | 3 | Copyright (C) 2001, 2003-2004, 2007, 2009-2017 Free Software Foundation, 4 | Inc. 5 | 6 | This program is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation; either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . */ 18 | 19 | /* Written by Jim Meyering */ 20 | 21 | #include 22 | 23 | extern char *areadlink (char const *filename); 24 | extern char *areadlink_with_size (char const *filename, size_t size_hint); 25 | 26 | #if GNULIB_AREADLINKAT 27 | extern char *areadlinkat (int fd, char const *filename); 28 | #endif 29 | 30 | #if GNULIB_AREADLINKAT_WITH_SIZE 31 | extern char *areadlinkat_with_size (int fd, char const *filename, 32 | size_t size_hint); 33 | #endif 34 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_fdi.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_THUNK_FDI_H 2 | #define HAVE_QEMU_THUNK_FDI_H 3 | 4 | #ifndef _WIN64 5 | #include 6 | #endif 7 | 8 | struct qemu_FDINOTIFICATION 9 | { 10 | LONG cb; 11 | qemu_ptr psz1; 12 | qemu_ptr psz2; 13 | qemu_ptr psz3; /* Points to a 256 character buffer */ 14 | qemu_ptr pv; /* Value for client */ 15 | 16 | qemu_ptr hf; 17 | 18 | USHORT date; 19 | USHORT time; 20 | USHORT attribs; 21 | 22 | USHORT setID; /* Cabinet set ID */ 23 | USHORT iCabinet; /* Cabinet number (0-based) */ 24 | USHORT iFolder; /* Folder number (0-based) */ 25 | 26 | FDIERROR fdie; 27 | }; 28 | 29 | static inline void FDINOTIFICATION_h2g(struct qemu_FDINOTIFICATION *guest, const FDINOTIFICATION *host) 30 | { 31 | guest->cb = host->cb; 32 | guest->psz1 = (ULONG_PTR)host->psz1; 33 | guest->psz2 = (ULONG_PTR)host->psz2; 34 | guest->psz3 = (ULONG_PTR)host->psz3; 35 | guest->pv = (ULONG_PTR)host->pv; 36 | guest->hf = host->hf; 37 | guest->date = host->date; 38 | guest->time = host->time; 39 | guest->attribs = host->attribs; 40 | guest->setID = host->setID; 41 | guest->iCabinet = host->iCabinet; 42 | guest->iFolder = host->iFolder; 43 | guest->fdie = host->fdie; 44 | } 45 | 46 | #ifndef _WIN64 47 | #include 48 | #endif 49 | 50 | #endif 51 | -------------------------------------------------------------------------------- /libiconv/srclib/xstrdup.c: -------------------------------------------------------------------------------- 1 | /* xstrdup.c -- copy a string with out of memory checking 2 | Copyright (C) 1990, 1996, 2000-2003, 2005-2006 Free Software Foundation, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . */ 16 | 17 | #include 18 | 19 | /* Specification. */ 20 | #include "xalloc.h" 21 | 22 | #include 23 | 24 | /* Return a newly allocated copy of the N bytes of memory starting at P. */ 25 | 26 | void * 27 | xmemdup (const void *p, size_t n) 28 | { 29 | void *q = xmalloc (n); 30 | memcpy (q, p, n); 31 | return q; 32 | } 33 | 34 | /* Return a newly allocated copy of STRING. */ 35 | 36 | char * 37 | xstrdup (const char *string) 38 | { 39 | return strcpy (XNMALLOC (strlen (string) + 1, char), string); 40 | } 41 | -------------------------------------------------------------------------------- /dlls/iphlpapi/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_IPHLPAPI 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -D_WIN32_WINNT=0x0603 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -DNTDDI_VERSION=0x06020000 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: iphlpapi.dll qemu_iphlpapi.dll.so 10 | 11 | iphlpapi.dll: icmp_g.o iphlpapi.spec iphlpapi_main_g.o ipstats_g.o main_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/iphlpapi.spec *_g.o -lwinecrt0 -o iphlpapi.dll -nodefaultlibs -nostdlib -Wl,--image-base,0x180000000 -lkernel32 13 | 14 | qemu_iphlpapi.dll.so: icmp_h.o iphlpapi_main_h.o ipstats_h.o main_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_iphlpapi.spec *_h.o -o qemu_iphlpapi.dll.so -liphlpapi -DUSE_WS_PREFIX 16 | 17 | %_g.o: %.c qemu_iphlpapi.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_iphlpapi.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) -DUSE_WS_PREFIX 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/gnulib-local/lib/xstrdup.c: -------------------------------------------------------------------------------- 1 | /* xstrdup.c -- copy a string with out of memory checking 2 | Copyright (C) 1990, 1996, 2000-2003, 2005-2006 Free Software Foundation, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . */ 16 | 17 | #include 18 | 19 | /* Specification. */ 20 | #include "xalloc.h" 21 | 22 | #include 23 | 24 | /* Return a newly allocated copy of the N bytes of memory starting at P. */ 25 | 26 | void * 27 | xmemdup (const void *p, size_t n) 28 | { 29 | void *q = xmalloc (n); 30 | memcpy (q, p, n); 31 | return q; 32 | } 33 | 34 | /* Return a newly allocated copy of STRING. */ 35 | 36 | char * 37 | xstrdup (const char *string) 38 | { 39 | return strcpy (XNMALLOC (strlen (string) + 1, char), string); 40 | } 41 | -------------------------------------------------------------------------------- /dlls/d3d11/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_D3D11 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: d3d11.dll qemu_d3d11.dll.so 10 | 11 | d3d11.dll: async_g.o buffer_g.o d3d11.spec device_g.o inputlayout_g.o main_g.o shader_g.o state_g.o texture_g.o view_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/d3d11.spec *_g.o -o d3d11.dll -ldxguid -ldxgi 13 | 14 | qemu_d3d11.dll.so: async_h.o buffer_h.o device_h.o inputlayout_h.o main_h.o qemu_d3d11.spec shader_h.o state_h.o texture_h.o view_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) --wine-objdir $(DESTDIR)/build/wine-host $(SRCDIR)/qemu_d3d11.spec *_h.o -o qemu_d3d11.dll.so 16 | 17 | %_g.o: %.c qemu_d3d11.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../../wine/include/wine -Wno-format 19 | 20 | %_h.o: %.c qemu_d3d11.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/lib/ascii.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc. 3 | * This file is part of the GNU LIBICONV Library. 4 | * 5 | * The GNU LIBICONV Library is free software; you can redistribute it 6 | * and/or modify it under the terms of the GNU Library General Public 7 | * License as published by the Free Software Foundation; either version 2 8 | * of the License, or (at your option) any later version. 9 | * 10 | * The GNU LIBICONV Library is distributed in the hope that it will be 11 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Library General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Library General Public 16 | * License along with the GNU LIBICONV Library; see the file COPYING.LIB. 17 | * If not, see . 18 | */ 19 | 20 | /* 21 | * ASCII 22 | */ 23 | 24 | static int 25 | ascii_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n) 26 | { 27 | unsigned char c = *s; 28 | if (c < 0x80) { 29 | *pwc = (ucs4_t) c; 30 | return 1; 31 | } 32 | return RET_ILSEQ; 33 | } 34 | 35 | static int 36 | ascii_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n) 37 | { 38 | if (wc < 0x0080) { 39 | *r = wc; 40 | return 1; 41 | } 42 | return RET_ILUNI; 43 | } 44 | -------------------------------------------------------------------------------- /libiconv/gnulib-local/lib/error.h.diff: -------------------------------------------------------------------------------- 1 | *** gnulib/lib/error.h 2005-05-14 08:03:58.000000000 +0200 2 | --- srclib/error.h 2005-05-20 23:06:02.000000000 +0200 3 | *************** 4 | *** 50,63 **** 5 | /* If NULL, error will flush stdout, then print on stderr the program 6 | name, a colon and a space. Otherwise, error will call this 7 | function without parameters instead. */ 8 | ! extern void (*error_print_progname) (void); 9 | 10 | /* This variable is incremented each time 'error' is called. */ 11 | ! extern unsigned int error_message_count; 12 | 13 | /* Sometimes we want to have at most one error per line. This 14 | variable controls whether this mode is selected or not. */ 15 | ! extern int error_one_per_line; 16 | 17 | #ifdef __cplusplus 18 | } 19 | --- 50,63 ---- 20 | /* If NULL, error will flush stdout, then print on stderr the program 21 | name, a colon and a space. Otherwise, error will call this 22 | function without parameters instead. */ 23 | ! extern DLL_VARIABLE void (*error_print_progname) (void); 24 | 25 | /* This variable is incremented each time 'error' is called. */ 26 | ! extern DLL_VARIABLE unsigned int error_message_count; 27 | 28 | /* Sometimes we want to have at most one error per line. This 29 | variable controls whether this mode is selected or not. */ 30 | ! extern DLL_VARIABLE int error_one_per_line; 31 | 32 | #ifdef __cplusplus 33 | } 34 | -------------------------------------------------------------------------------- /dlls/dsound/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_DSOUND 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -D_WIN32_WINNT=0x0603 -DSECURITY_WIN32 -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: dsound.dll qemu_dsound.dll.so 10 | 11 | dsound.dll: buffer_g.o capture_g.o dsound.spec dsound_g.o dsound_main_g.o duplex_g.o main_g.o propset_g.o sound3d_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/dsound.spec *_g.o -o dsound.dll -luuid -Wl,--image-base,0x1c0000000 13 | 14 | qemu_dsound.dll.so: buffer_h.o capture_h.o dsound_h.o dsound_main_h.o duplex_h.o main_h.o propset_h.o qemu_dsound.spec sound3d_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_dsound.spec *_h.o -o qemu_dsound.dll.so -ldsound -lole32 16 | 17 | %_g.o: %.c qemu_dsound.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../../wine/include/wine -Wno-format 19 | 20 | %_h.o: %.c qemu_dsound.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/po/en@boldquot.header: -------------------------------------------------------------------------------- 1 | # All this catalog "translates" are quotation characters. 2 | # The msgids must be ASCII and therefore cannot contain real quotation 3 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27) 4 | # and double quote (0x22). These substitutes look strange; see 5 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html 6 | # 7 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to 8 | # left single quotation mark (U+2018) and right single quotation mark (U+2019). 9 | # It also translates pairs of apostrophe (0x27) to 10 | # left single quotation mark (U+2018) and right single quotation mark (U+2019) 11 | # and pairs of quotation mark (0x22) to 12 | # left double quotation mark (U+201C) and right double quotation mark (U+201D). 13 | # 14 | # When output to an UTF-8 terminal, the quotation characters appear perfectly. 15 | # When output to an ISO-8859-1 terminal, the single quotation marks are 16 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to 17 | # grave/acute accent (by libiconv), and the double quotation marks are 18 | # transliterated to 0x22. 19 | # When output to an ASCII terminal, the single quotation marks are 20 | # transliterated to apostrophes, and the double quotation marks are 21 | # transliterated to 0x22. 22 | # 23 | # This catalog furthermore displays the text between the quotation marks in 24 | # bold face, assuming the VT100/XTerm escape sequences. 25 | # 26 | -------------------------------------------------------------------------------- /libiconv/srcm4/inttypes-pri.m4: -------------------------------------------------------------------------------- 1 | # inttypes-pri.m4 serial 7 (gettext-0.18.2) 2 | dnl Copyright (C) 1997-2002, 2006, 2008-2017 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | 9 | AC_PREREQ([2.53]) 10 | 11 | # Define PRI_MACROS_BROKEN if exists and defines the PRI* 12 | # macros to non-string values. This is the case on AIX 4.3.3. 13 | 14 | AC_DEFUN([gt_INTTYPES_PRI], 15 | [ 16 | AC_CHECK_HEADERS([inttypes.h]) 17 | if test $ac_cv_header_inttypes_h = yes; then 18 | AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], 19 | [gt_cv_inttypes_pri_broken], 20 | [ 21 | AC_COMPILE_IFELSE( 22 | [AC_LANG_PROGRAM( 23 | [[ 24 | #include 25 | #ifdef PRId32 26 | char *p = PRId32; 27 | #endif 28 | ]], 29 | [[]])], 30 | [gt_cv_inttypes_pri_broken=no], 31 | [gt_cv_inttypes_pri_broken=yes]) 32 | ]) 33 | fi 34 | if test "$gt_cv_inttypes_pri_broken" = yes; then 35 | AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1], 36 | [Define if exists and defines unusable PRI* macros.]) 37 | PRI_MACROS_BROKEN=1 38 | else 39 | PRI_MACROS_BROKEN=0 40 | fi 41 | AC_SUBST([PRI_MACROS_BROKEN]) 42 | ]) 43 | -------------------------------------------------------------------------------- /dlls/include/propertybag_wrapper.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2018 Stefan Dösinger for CodeWeavers 3 | * 4 | * This library is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * This library is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with this library; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 | */ 18 | 19 | #ifndef PROPERTYBAG_WRAPPER_H 20 | #define PROPERTYBAG_WRAPPER_H 21 | 22 | #include 23 | 24 | struct propertybag_wrapper; 25 | 26 | struct propertybag_wrapper *propertybag_wrapper_create(uint64_t guest_iface); 27 | struct propertybag_wrapper *propertybag_wrapper_from_IPropertyBag(IPropertyBag *iface); 28 | void propertybag_wrapper_destroy(struct propertybag_wrapper *wrapper); 29 | uint64_t propertybag_wrapper_guest_iface(struct propertybag_wrapper *wrapper); 30 | IPropertyBag * propertybag_wrapper_host_iface(struct propertybag_wrapper *wrapper); 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /dlls/ddraw/Makefile: -------------------------------------------------------------------------------- 1 | +SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_DDRAW 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: ddraw.dll qemu_ddraw.dll.so 10 | 11 | ddraw.dll: clipper_g.o ddraw.spec ddraw_g.o device_g.o executebuffer_g.o light_g.o main_g.o material_g.o palette_g.o surface_g.o vertexbuffer_g.o viewport_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/ddraw.spec *_g.o -o ddraw.dll -luuid -ldxguid 13 | 14 | qemu_ddraw.dll.so: clipper_h.o ddraw_h.o device_h.o executebuffer_h.o light_h.o main_h.o material_h.o palette_h.o qemu_ddraw.spec surface_h.o vertexbuffer_h.o viewport_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_ddraw.spec *_h.o -o qemu_ddraw.dll.so -lddraw -luuid -ldxguid 16 | 17 | %_g.o: %.c qemu_ddraw.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST -I../../../wine/include/wine -Wno-format 19 | 20 | %_h.o: %.c qemu_ddraw.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /dlls/include/thunk/qemu_shtypes.h: -------------------------------------------------------------------------------- 1 | #ifndef HAVE_QEMU_SHTYPES_H 2 | #define HAVE_QEMU_SHTYPES_H 3 | 4 | #include "thunk/qemu_windows.h" 5 | 6 | #include 7 | struct qemu_STRRET 8 | { 9 | UINT uType; 10 | union 11 | { 12 | qemu_ptr pOleStr; 13 | UINT uOffset; 14 | char cStr[260]; 15 | } u1; 16 | }; 17 | #include 18 | 19 | static inline void STRRET_g2h(STRRET *host, const struct qemu_STRRET *guest) 20 | { 21 | host->uType = guest->uType; 22 | switch (host->uType) 23 | { 24 | case STRRET_WSTR: 25 | host->pOleStr = (WCHAR *)(ULONG_PTR)guest->u1.pOleStr; 26 | break; 27 | 28 | case STRRET_OFFSET: 29 | host->uOffset = guest->u1.uOffset; 30 | break; 31 | 32 | case STRRET_CSTR: 33 | memcpy(host->cStr, guest->u1.cStr, sizeof(host->cStr)); 34 | break; 35 | } 36 | } 37 | 38 | static inline void STRRET_h2g(struct qemu_STRRET *guest, const STRRET *host) 39 | { 40 | guest->uType = host->uType; 41 | switch (host->uType) 42 | { 43 | case STRRET_WSTR: 44 | guest->u1.pOleStr = (ULONG_PTR)host->pOleStr; 45 | break; 46 | 47 | case STRRET_OFFSET: 48 | guest->u1.uOffset = host->uOffset; 49 | break; 50 | 51 | case STRRET_CSTR: 52 | memcpy(guest->u1.cStr, host->cStr, sizeof(guest->u1.cStr)); 53 | break; 54 | } 55 | } 56 | 57 | #endif 58 | -------------------------------------------------------------------------------- /libiconv/srclib/localcharset.h: -------------------------------------------------------------------------------- 1 | /* Determine a canonical name for the current locale's character encoding. 2 | Copyright (C) 2000-2003, 2009-2017 Free Software Foundation, Inc. 3 | This file is part of the GNU CHARSET Library. 4 | 5 | This program is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3, or (at your option) 8 | any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License along 16 | with this program; if not, see . */ 17 | 18 | #ifndef _LOCALCHARSET_H 19 | #define _LOCALCHARSET_H 20 | 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | 27 | /* Determine the current locale's character encoding, and canonicalize it 28 | into one of the canonical names listed in config.charset. 29 | The result must not be freed; it is statically allocated. 30 | If the canonical name cannot be determined, the result is a non-canonical 31 | name. */ 32 | extern const char * locale_charset (void); 33 | 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | 39 | 40 | #endif /* _LOCALCHARSET_H */ 41 | -------------------------------------------------------------------------------- /dlls/d3d9/Makefile: -------------------------------------------------------------------------------- 1 | SRCDIR?=build_from_build_dllsXX_YYY 2 | DESTDIR?=../.. 3 | CURRENT_DLL=DLL_D3D9 4 | CFLAGS+=-I$(SRCDIR)/../include -I$(SRCDIR)/../../qemu/include -DQEMU_CURRENT_DLL=$(CURRENT_DLL) -O2 -DCONST_VTABLE -DGUEST_BIT=$(GUEST_BIT) -DHOST_BIT=$(HOST_BIT) -D_WIN32_WINNT=0x0603 5 | WINEGCC=$(DESTDIR)/build/wine-tools/tools/winegcc/winegcc --winebuild $(DESTDIR)/build/wine-tools/tools/winebuild/winebuild -I$(DESTDIR)/build/wine-host/include -I$(DESTDIR)/wine/include 6 | 7 | VPATH=$(SRCDIR) 8 | 9 | all: d3d9.dll qemu_d3d9.dll.so 10 | 11 | d3d9.dll: buffer_g.o d3d9.spec d3d9_main_g.o device_g.o directx_g.o main_g.o query_g.o shader_g.o stateblock_g.o surface_g.o swapchain_g.o texture_g.o vertexdeclaration_g.o volume_g.o 12 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/$(WINE_DIR) -shared -b $(GUEST_CC) $(SRCDIR)/d3d9.spec *_g.o -o d3d9.dll -Wl,--image-base,0xc0000000 13 | 14 | qemu_d3d9.dll.so: buffer_h.o d3d9_main_h.o device_h.o directx_h.o main_h.o qemu_d3d9.spec query_h.o shader_h.o stateblock_h.o surface_h.o swapchain_h.o texture_h.o vertexdeclaration_h.o volume_h.o 15 | $(WINEGCC) --wine-objdir $(DESTDIR)/build/wine-host -shared $(HOST_CC) $(SRCDIR)/qemu_d3d9.spec *_h.o -o qemu_d3d9.dll.so -ld3d9 -ldxguid -luuid 16 | 17 | %_g.o: %.c qemu_d3d9.h Makefile $(SRCDIR)/Makefile 18 | $(GUEST_CC)-gcc $< -c -o $@ $(CFLAGS) -DQEMU_DLL_GUEST 19 | 20 | %_h.o: %.c qemu_d3d9.h Makefile $(SRCDIR)/Makefile 21 | $(WINEGCC) $(HOST_CC) $< -c -o $@ $(CFLAGS) 22 | 23 | clean: 24 | rm -rf *o *.dll *.so 25 | -------------------------------------------------------------------------------- /libiconv/m4/proto.m4: -------------------------------------------------------------------------------- 1 | dnl Copyright (C) 1993-2002 Free Software Foundation, Inc. 2 | dnl This file is free software, distributed under the terms of the GNU 3 | dnl General Public License. As a special exception to the GNU General 4 | dnl Public License, this file may be distributed as part of a program 5 | dnl that contains a configuration script generated by Autoconf, under 6 | dnl the same distribution terms as the rest of that program. 7 | 8 | dnl From Bruno Haible, Marcus Daniels. 9 | 10 | AC_PREREQ(2.13) 11 | 12 | dnl CL_PROTO(IDENTIFIER, ACTION-IF-NOT-FOUND, FINAL-PROTOTYPE) 13 | AC_DEFUN([CL_PROTO], 14 | [AC_MSG_CHECKING([for $1 declaration]) 15 | AC_CACHE_VAL(cl_cv_proto_[$1], [$2 16 | cl_cv_proto_$1="$3"]) 17 | cl_cv_proto_$1=`echo "[$]cl_cv_proto_$1" | tr -s ' ' | sed -e 's/( /(/'` 18 | AC_MSG_RESULT([$]{ac_t:- 19 | }[$]cl_cv_proto_$1) 20 | ]) 21 | 22 | dnl CL_PROTO_RET(INCLUDES, DECL, CACHE-ID, TYPE-IF-OK, TYPE-IF-FAILS) 23 | AC_DEFUN([CL_PROTO_RET], 24 | [AC_TRY_COMPILE([$1] 25 | AC_LANG_EXTERN[$2 26 | ], [], $3="$4", $3="$5") 27 | ]) 28 | 29 | dnl CL_PROTO_TRY(INCLUDES, ANSI-DECL, TRAD-DECL, ACTION-IF-OK, ACTION-IF-FAILS) 30 | AC_DEFUN([CL_PROTO_TRY], 31 | [AC_TRY_COMPILE([$1] 32 | AC_LANG_EXTERN 33 | [#if defined(__STDC__) || defined(__cplusplus) 34 | $2 35 | #else 36 | $3 37 | #endif 38 | ], [], [$4], [$5]) 39 | ]) 40 | 41 | dnl CL_PROTO_CONST(INCLUDES, ANSI-DECL, TRAD-DECL, CACHE-ID) 42 | AC_DEFUN([CL_PROTO_CONST], 43 | [CL_PROTO_TRY([$1], [$2], [$3], $4="", $4="const")] 44 | ) 45 | -------------------------------------------------------------------------------- /libiconv/lib/ucs4internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 1999-2000, 2016 Free Software Foundation, Inc. 3 | * This file is part of the GNU LIBICONV Library. 4 | * 5 | * The GNU LIBICONV Library is free software; you can redistribute it 6 | * and/or modify it under the terms of the GNU Library General Public 7 | * License as published by the Free Software Foundation; either version 2 8 | * of the License, or (at your option) any later version. 9 | * 10 | * The GNU LIBICONV Library is distributed in the hope that it will be 11 | * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Library General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Library General Public 16 | * License along with the GNU LIBICONV Library; see the file COPYING.LIB. 17 | * If not, see . 18 | */ 19 | 20 | /* 21 | * UCS-4-INTERNAL = UCS-4 with machine dependent endianness and alignment 22 | */ 23 | 24 | static int 25 | ucs4internal_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, size_t n) 26 | { 27 | if (n >= 4) { 28 | *pwc = *(const unsigned int *)s; 29 | return 4; 30 | } 31 | return RET_TOOFEW(0); 32 | } 33 | 34 | static int 35 | ucs4internal_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, size_t n) 36 | { 37 | if (n >= 4) { 38 | *(unsigned int *)r = wc; 39 | return 4; 40 | } else 41 | return RET_TOOSMALL; 42 | } 43 | -------------------------------------------------------------------------------- /libiconv/libcharset/include/localcharset.h.in: -------------------------------------------------------------------------------- 1 | /* Determine a canonical name for the current locale's character encoding. 2 | Copyright (C) 2000-2003 Free Software Foundation, Inc. 3 | This file is part of the GNU CHARSET Library. 4 | 5 | This program is free software; you can redistribute it and/or modify it 6 | under the terms of the GNU Library General Public License as published 7 | by the Free Software Foundation; either version 2, or (at your option) 8 | any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Library General Public License for more details. 14 | 15 | You should have received a copy of the GNU Library General Public License 16 | along with this program; if not, see . */ 17 | 18 | #ifndef _LOCALCHARSET_H 19 | #define _LOCALCHARSET_H 20 | 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | 27 | /* Determine the current locale's character encoding, and canonicalize it 28 | into one of the canonical names listed in config.charset. 29 | The result must not be freed; it is statically allocated. 30 | If the canonical name cannot be determined, the result is a non-canonical 31 | name. */ 32 | extern const char * locale_charset (void); 33 | 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | 39 | 40 | #endif /* _LOCALCHARSET_H */ 41 | -------------------------------------------------------------------------------- /libiconv/srcm4/lcmessage.m4: -------------------------------------------------------------------------------- 1 | # lcmessage.m4 serial 7 (gettext-0.18.2) 2 | dnl Copyright (C) 1995-2002, 2004-2005, 2008-2014, 2016-2017 Free Software 3 | dnl Foundation, Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | dnl 8 | dnl This file can be used in projects which are not available under 9 | dnl the GNU General Public License or the GNU Library General Public 10 | dnl License but which still want to provide support for the GNU gettext 11 | dnl functionality. 12 | dnl Please note that the actual code of the GNU gettext library is covered 13 | dnl by the GNU Library General Public License, and the rest of the GNU 14 | dnl gettext package is covered by the GNU General Public License. 15 | dnl They are *not* in the public domain. 16 | 17 | dnl Authors: 18 | dnl Ulrich Drepper , 1995. 19 | 20 | # Check whether LC_MESSAGES is available in . 21 | 22 | AC_DEFUN([gt_LC_MESSAGES], 23 | [ 24 | AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES], 25 | [AC_LINK_IFELSE( 26 | [AC_LANG_PROGRAM( 27 | [[#include ]], 28 | [[return LC_MESSAGES]])], 29 | [gt_cv_val_LC_MESSAGES=yes], 30 | [gt_cv_val_LC_MESSAGES=no])]) 31 | if test $gt_cv_val_LC_MESSAGES = yes; then 32 | AC_DEFINE([HAVE_LC_MESSAGES], [1], 33 | [Define if your file defines LC_MESSAGES.]) 34 | fi 35 | ]) 36 | -------------------------------------------------------------------------------- /libiconv/libcharset/djgpp/fnchange.in: -------------------------------------------------------------------------------- 1 | @V@/tools/aix-3.2.5 @V@/tools/aix-3.2-5 2 | @V@/tools/aix-4.1.5 @V@/tools/aix-4.1-5 3 | @V@/tools/aix-4.2.0 @V@/tools/aix-4.2-0 4 | @V@/tools/aix-4.3.2 @V@/tools/aix-4.3-2 5 | @V@/tools/glibc-2.1.3 @V@/tools/glibc-2.1-3 6 | @V@/tools/glibc-2.1.90 @V@/tools/glibc-2.1-90 7 | @V@/tools/locale_charmap @V@/tools/locale_charmap 8 | @V@/tools/locale_charset.c @V@/tools/charset_locale.c 9 | @V@/tools/locale_codeset.c @V@/tools/codeset_locale.c 10 | @V@/tools/solaris-2.5.1 @V@/tools/solaris-2.5-1 11 | @V@/tools/sunos-4.1.4 @V@/tools/sunos-4.1-4 12 | @V@/tools/all-charsets-X11 @V@/tools/all-charsets.X11 13 | @V@/tools/glibc-2.2-XF86-3.3.6 @V@/tools/glibc22XF86-3.3-6 14 | @V@/tools/glibc-2.2-XF86-4.0.1f @V@/tools/glibc22XF86-4.0-1f 15 | @V@/tools/locale_x11encoding.c @V@/tools/x11encoding_locale.c 16 | @V@/include/libcharset.h.in @V@/include/libcharset.h-in 17 | @V@/include/libcharset.h.msvc-shared @V@/include/libcharset.h-msvc-shared 18 | @V@/include/localcharset.h.in @V@/include/localcharset.h-in 19 | @V@/include/localcharset.h.build.in @V@/include/localcharset.h-build-in 20 | @V@/include/localcharset.h.msvc-shared @V@/include/localcharset.h-msvc-shared 21 | @V@/config.h.in @V@/config.h-in 22 | @V@/config.h.msvc @V@/config.h-msvc 23 | -------------------------------------------------------------------------------- /libiconv/srclib/msvc-nothrow.c: -------------------------------------------------------------------------------- 1 | /* Wrappers that don't throw invalid parameter notifications 2 | with MSVC runtime libraries. 3 | Copyright (C) 2011-2017 Free Software Foundation, Inc. 4 | 5 | This program is free software; you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3, or (at your option) 8 | any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License along 16 | with this program; if not, see . */ 17 | 18 | #include 19 | 20 | /* Specification. */ 21 | #include "msvc-nothrow.h" 22 | 23 | /* Get declarations of the native Windows API functions. */ 24 | #define WIN32_LEAN_AND_MEAN 25 | #include 26 | 27 | #include "msvc-inval.h" 28 | 29 | #undef _get_osfhandle 30 | 31 | #if HAVE_MSVC_INVALID_PARAMETER_HANDLER 32 | intptr_t 33 | _gl_nothrow_get_osfhandle (int fd) 34 | { 35 | intptr_t result; 36 | 37 | TRY_MSVC_INVAL 38 | { 39 | result = _get_osfhandle (fd); 40 | } 41 | CATCH_MSVC_INVAL 42 | { 43 | result = (intptr_t) INVALID_HANDLE_VALUE; 44 | } 45 | DONE_MSVC_INVAL; 46 | 47 | return result; 48 | } 49 | #endif 50 | -------------------------------------------------------------------------------- /libiconv/lib/encodings_osf1.def: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2001, 2008 Free Software Foundation, Inc. 2 | This file is part of the GNU LIBICONV Library. 3 | 4 | The GNU LIBICONV Library is free software; you can redistribute it 5 | and/or modify it under the terms of the GNU Library General Public 6 | License as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | The GNU LIBICONV Library is distributed in the hope that it will be 10 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | Library General Public License for more details. 13 | 14 | You should have received a copy of the GNU Library General Public 15 | License along with the GNU LIBICONV Library; see the file COPYING.LIB. 16 | If not, see . */ 17 | 18 | /* Encodings used by system dependent locales on OSF/1 a.k.a. Tru64. */ 19 | 20 | DEFENCODING(( "DEC-KANJI", 21 | ), 22 | dec_kanji, 23 | { dec_kanji_mbtowc, NULL }, { dec_kanji_wctomb, NULL }) 24 | #ifdef USE_OSF1_ALIASES 25 | DEFALIAS( "DECKANJI", /* OSF/1 */ 26 | dec_kanji) 27 | #endif 28 | 29 | DEFENCODING(( "DEC-HANYU", 30 | ), 31 | dec_hanyu, 32 | { dec_hanyu_mbtowc, NULL }, { dec_hanyu_wctomb, NULL }) 33 | #ifdef USE_OSF1_ALIASES 34 | DEFALIAS( "DECHANYU", /* OSF/1 */ 35 | dec_hanyu) 36 | #endif 37 | -------------------------------------------------------------------------------- /dlls/opengl32/qemu_opengl32.h: -------------------------------------------------------------------------------- 1 | #ifndef QEMU_OPENGL_H 2 | #define QEMU_OPENGL_H 3 | 4 | #include 5 | 6 | #ifdef QEMU_DLL_GUEST 7 | 8 | typedef struct 9 | { 10 | const char *name; /* name of the extension */ 11 | const char *extension; /* name of the GL/WGL extension */ 12 | void *func; /* pointer to the Wine function for this extension */ 13 | } OpenGL_extension; 14 | 15 | extern const int extension_registry_size; 16 | extern const OpenGL_extension extension_registry[]; 17 | 18 | #if __MINGW64_VERSION_MAJOR < 7 19 | typedef void *GLeglClientBufferEXT; 20 | typedef void *GLeglImageOES; 21 | typedef void (APIENTRY *GLVULKANPROCNV)(void); 22 | GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name); 23 | GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 24 | GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list); 25 | GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list); 26 | GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); 27 | #endif 28 | 29 | #else 30 | 31 | extern const struct qemu_ops *qemu_ops; 32 | extern const syscall_handler dll_functions[]; 33 | 34 | #endif 35 | 36 | #include "opengl_funcs.h" 37 | 38 | extern struct opengl_funcs host_funcs; 39 | void init_norm_funcs(void); 40 | 41 | #endif 42 | --------------------------------------------------------------------------------