Yamagi Burmeister
63b1816be6
Add an explicit cast to shut up g++47 on FreeBSD
2013-03-16 14:32:47 +01:00
Yamagi Burmeister
649577e9be
Include stddef.h for ptrdiff_t on FreeBSD
2013-03-16 14:32:46 +01:00
Yamagi Burmeister
f51688a470
Add FreeBSD defines
2013-03-16 14:32:46 +01:00
Yamagi Burmeister
da31237ed0
Replace malloc.h by stdlib.h
...
On true unices malloc.h was never available and on Linux one should
include stdlib.h instead. While this change is necessary to build
rbdoom3 on FreeBSD and other true unices, the big question is what
it means to Windows.
2013-03-16 01:38:53 +01:00
Robert Beckebans
dd9b8a8710
Added support for precompiled headers for MSVC which reduced the compiled time from 4 minutes to 67 seconds.
2012-12-22 16:18:19 +01:00
Robert Beckebans
865ee792c0
Disabled usage of pthread_{get,set}_name because it does not work on all Linux systems.
2012-12-22 13:15:47 +01:00
Robert Beckebans
63f9d4000f
First playable version on Linux.
2012-12-16 17:31:21 +01:00
Robert Beckebans
b7d3481f57
Fixed missing 16 byte alignment on 32 bit Linux for SSE structs.
2012-12-15 14:53:11 +01:00
Robert Beckebans
8b8cfe7d25
Small changes to pthreads.
2012-12-14 13:10:52 +01:00
Robert Beckebans
7b43a34f37
Changed idSysSignal pthread implementation to consider the manualReset parameter
2012-12-14 11:50:20 +01:00
Daniel Gibson
ee88148bd1
eliminate more longs
...
for 64bit compatibility.
2012-12-13 01:28:41 +01:00
Robert Beckebans
86deed26b8
Merged 64 bit fixes.
2012-12-12 12:11:55 +01:00
Robert Beckebans
baac8780a5
Fixed some bugs in idSysSignal.
2012-12-12 11:29:55 +01:00
Robert Beckebans
a1730fa430
Supplemented Linux backend with missing functions. -> [100%] Built target RBDoom3 on Kubuntu 12.10
2012-12-11 23:17:23 +01:00
Robert Beckebans
6d70f04cc9
Ported the Win32 threads to POSIX pthreads.
2012-12-09 01:55:59 +01:00
Robert Beckebans
3b0dabe30a
Formatted code.
2012-12-08 18:20:13 +01:00
Robert Beckebans
8812f6f0a4
Merge branch 'linux' of https://github.com/RobertBeckebans/RBDOOM-3-BFG into linux
2012-12-07 21:25:01 +01:00
Robert Beckebans
bc6d7fbb8c
Fixed wrong assert
2012-12-07 21:24:45 +01:00
Robert Beckebans
948865123d
More Linux specific fixes, especially 64 bit
2012-12-07 17:06:44 +01:00
Robert Beckebans
9cc36a111e
More Linux specific fixes. idlib compiles on Kubuntu 12.10 64 bit
2012-12-06 21:31:33 +01:00
Robert Beckebans
37a6018233
Added some macro defines for Linux.
2012-12-06 01:00:05 +01:00
Robert Beckebans
afaf66ef40
Formatted code
2012-12-04 12:11:14 +01:00
Robert Beckebans
e0c79bd2d2
More work on MinGW support.
2012-12-03 23:55:27 +01:00
Robert Beckebans
5e05fa58c3
Added Doom 3 GCC compile options.
2012-12-03 14:21:45 +01:00
Daniel Gibson
d949bc9410
Fix compiler warnings and errors in MinGW
...
many of the warnings -Wreorder and #includes with invalid path because of
case-errors (windows may not care, but linux does)
2012-12-03 09:29:14 +01:00
Robert Beckebans
b6dd24ec4e
More MinGW specific compile fixes.
2012-12-02 06:00:07 +01:00
Robert Beckebans
536de6932a
Added missing #include <stdint.h> for uinptr_t with MinGW.
2012-12-02 06:00:06 +01:00
Daniel Gibson
259f164d28
Make idlib build with MinGW
...
but it probably is buggy and still has a lot of warnings.
The rest still has errors, i.e. you can't build a doom executable with
MinGW yet
2012-12-02 06:00:05 +01:00
Robert Beckebans
f55a763ca4
Formatted code using Artistic Style for better readability.
2012-11-28 16:47:07 +01:00
Brian Harris
5016f605b8
Initial commit
2012-11-26 12:58:24 -06:00