Commit Graph
33453 Commits
Author SHA1 Message Date
Ben "root" Anderson 3a730b3c3c Introducing SM_ASM_X86, a compiler-agnostic inline assembly macro 2013-10-25 18:05:56 -05:00
Ben "root" Anderson 469260911a I dont think theres anything to catch here. GCC doesnt have SEH so skipping the tryblock for now. 2013-10-25 17:56:12 -05:00
Ben "root" Anderson 911cd2e299 Making headway on required archutils 2013-10-25 17:55:07 -05:00
Ben "root" Anderson 14e500e0f6 Hack: Dont pthread on Windows. 2013-10-25 17:54:41 -05:00
Ben "root" Anderson 0f86f79a3c else if what? Assuming you meant just else 2013-10-25 17:24:35 -05:00
Ben "root" Anderson 944921ac12 You need global.h for RString 2013-10-25 15:52:07 -05:00
Ben "root" Anderson 9d6a9510f4 Added this to the wrong file 2013-10-25 15:51:44 -05:00
Ben "root" Anderson 4c62a0e5b4 You need StdString.h for RString 2013-10-25 15:42:19 -05:00
Ben "root" Anderson 95ba9dd658 You need stdint.h for uint64_t 2013-10-25 15:41:20 -05:00
Ben "root" Anderson 915a08f1d8 Just pulling in Unix/Backtrace.h with no impl for now. 2013-10-25 15:40:58 -05:00
Ben "root" Anderson 23eaa78c1b This is only used in archutils/Unix/CrashHandler.cpp so conditionalize it. 2013-10-25 15:39:39 -05:00
Ben "root" Anderson a54e0f1205 Missed changing LinuxThreadHelpers -> PthreadHelpers in the .cpp itself 2013-10-25 15:29:33 -05:00
Ben "root" Anderson 808ed4c036 MinGW gives us clockid_t 2013-10-25 15:27:05 -05:00
Ben "root" Anderson f38d56104c typo 2013-10-25 15:26:42 -05:00
Ben "root" Anderson 0959033fe6 LinuxThreadHelpers -> PthreadHelpers 2013-10-25 15:15:41 -05:00
Ben "root" Anderson 859a10e5c8 GCC needs these casts to be explicit 2013-10-25 15:13:47 -05:00
Ben "root" Anderson 2d9890747c src/Makefile.am: 1) LinuxThreadHelpers -> PthreadHelpers 2) Missed a Threads_Pthreads inclusion 3) Snub MovieTexture_DShow for now 2013-10-25 15:13:14 -05:00
Ben "root" Anderson 40ca822982 Fix HAVE_PTHREAD conditional 2013-10-25 15:10:40 -05:00
Ben "root" Anderson 0b6fc17c27 Oops. Not sure how that compiled but okay. 2013-10-25 04:12:14 -05:00
Ben "root" Anderson dfb758d35a Noting an observation 2013-10-25 04:11:45 -05:00
Ben "root" Anderson 7608c814e4 GCC is very very picky about switch statements. 2013-10-25 03:59:55 -05:00
Ben "root" Anderson 0123a24dd1 Can't get the WDMKS driver to build. Operating on the assumption that it was broken in the first place. 2013-10-25 03:59:26 -05:00
Ben "root" Anderson 7775c35ec0 It was all much ado about const 2013-10-25 02:46:37 -05:00
Ben "root" Anderson d6e8e10615 Actually really force 32bit this time 2013-10-25 02:46:09 -05:00
Ben "root" Anderson 7a1b2faff7 Revert "the const CT& stuff confuses GCC"
This reverts commit 082a9723af.
2013-10-25 02:32:46 -05:00
Ben "root" Anderson 082a9723af the const CT& stuff confuses GCC; the doublecasting should be optimized out by the compiler so we don't need three different sizes of the same thing. 2013-10-25 02:20:17 -05:00
Ben "root" Anderson cdb551b115 We gotta go longer! 2013-10-25 02:04:23 -05:00
Ben "root" Anderson 0d86db9942 Partial overhaul. Moved all drivers into one place and indented bodies of if statements to make things easier to read. 2013-10-25 01:52:34 -05:00
Ben "root" Anderson 9ad99af93e Force -m32 on Windows because prebuilts; use windows.m4; Add --with-linux-tty so that driver can actually be used; correct a a Linux check 2013-10-25 01:51:32 -05:00
Ben "root" Anderson e6056a50d4 Dedicated file for Windows-specific checks 2013-10-25 01:50:27 -05:00
Ben "root" Anderson 04be5f6106 uintX requires stdint.h. No idea why this worked before. 2013-10-25 01:48:42 -05:00
Ben "root" Anderson 1b7f2bff76 Lacking X11 should be an error on non-Win32 as X11 then is our only LowLevelWindow option. 2013-10-25 01:47:06 -05:00
Ben "root" Anderson 7208f76b4d WINDOWS conditional 2013-10-24 22:04:19 -05:00
Ben "root" Anderson 91e42bb927 Add HAVE_PTHREAD conditional 2013-10-24 22:02:09 -05:00
Ben "root" Anderson e47d17b38d Explicitly pull in limits.h when using INT_MIN/INT_MAX 2013-10-24 20:37:55 -05:00
Ben "root" Anderson 9c183c9f4a Don't hardcode -lrt -lpthread. autoconf SHOULD add them automatically if needed. 2013-10-24 20:37:17 -05:00
Ben "root" Anderson fe6f515e95 The type of glEnable() / glDisable() is different on Windows so this isn't allowed. 2013-10-24 20:24:20 -05:00
Ben "root" Anderson f00605d9db We can system vorbis if we wanna. We can leave our externs behind. 2013-10-24 20:02:53 -05:00
Ben "root" Anderson 5762f44c36 Someone missed a (SM_)UNIQUE_NAME and it didn't matter for the longest time because UNIQUE_NAME wasn't doing what it's supposed to 2013-10-24 20:02:08 -05:00
Ben "root" Anderson e077746e62 Oops. 2013-10-24 19:38:49 -05:00
Ben "root" Anderson b3c76a3814 UNIQUE_NAME -> SM_UNIQUE_NAME (avoid conflict with MinGW headers) 2013-10-24 19:27:23 -05:00
Ben "root" Anderson 810283f2a2 a) LUA_USE_LINUX doesn't sound MinGW friendly. Remind me to investigate exactly what that enables. b) Nobody uses VC2003 anymore. Bring back UNIQUE_NAME. 2013-10-24 19:23:46 -05:00
Ben "root" Anderson 7313f2d0aa Conditionalize some defines that MinGW/autoconf provide 2013-10-24 18:29:58 -05:00
Ben "root" Anderson 7820c29bb4 Meet AX_CHECK_LIB_USING_HEADER. Also threw X11 back in because why the hell not. configure actually completes successfully now. 2013-10-24 17:31:34 -05:00
Ben "root" Anderson dfbda90abe More prebuilts 2013-10-24 14:08:37 -05:00
Ben "root" Anderson f61cd1cfbb First wave of pack-in libs 2013-10-24 11:36:49 -05:00
Ben "root" Anderson 0895aef000 Skip libbz2 check on MinGW for now 2013-10-24 11:36:02 -05:00
Ben "root" Anderson a5332c5b6f Now detects OpenGL correctly. 2013-10-24 02:11:18 -05:00
Ben "root" Anderson 398165fdcf Initial work on porting to MinGW. This doesn't work yet. 2013-10-24 00:23:06 -05:00
Ben "root" Anderson 5ba89e6665 I will probably break VC during this journey so let's not foul up default 2013-10-24 00:21:14 -05:00