68027a6aa0
Link with C++ linker
Peter Howkins
2012-03-12 11:27:37 +00:00
b069127485
Linux has the same value for ENOTSUP as another var, therefore protect one to prevent a duplicate case issue in the switch().
Peter Howkins
2012-03-12 11:26:01 +00:00
12598a4780
Link with C++ linker
Peter Howkins
2012-03-12 11:19:46 +00:00
4d9bb3d348
Link with C++ linker
Peter Howkins
2012-03-12 11:19:04 +00:00
9ad5e31edd
Link with C++ linker
Peter Howkins
2012-03-12 11:17:27 +00:00
7d5fcc4400
Link with C++ linker
Peter Howkins
2012-03-12 11:16:41 +00:00
ce390d1290
Link with C++ linker
Peter Howkins
2012-03-12 11:11:10 +00:00
bd368b24a2
Link with C++ linker
Peter Howkins
2012-03-12 11:01:17 +00:00
0e302b6bba
Add in freetype directory to inlude path
Peter Howkins
2012-03-12 10:41:53 +00:00
f972ee1646
On Linux when linking against a C++ library the whole program must be linked with the C++ linker.
Peter Howkins
2012-03-12 10:38:42 +00:00
c35c337aa1
When linking against libtt (a C++ lib) the link stage should use the C++ linker
Peter Howkins
2012-03-12 00:48:04 +00:00
e321b293c1
When linking against C++ libraries gcc insists on using the C++ linker
Peter Howkins
2012-03-12 00:44:14 +00:00
84139c3575
On Linux don't redefine the prototypes to malloc() and realloc() to the wrong things.
Peter Howkins
2012-03-12 00:37:58 +00:00
86909a64f0
Linux is a unistdh platform not an osfcn.h
Peter Howkins
2012-03-12 00:35:06 +00:00
54e8940874
linux is a unistd.h platform not a osfcn.h
Peter Howkins
2012-03-12 00:33:44 +00:00
50465f5a87
-fpermissive to allow gcc to compile old C++
Peter Howkins
2012-03-12 00:32:10 +00:00
0ce783f018
Do not redefine prototype of exit() under linux
Peter Howkins
2012-03-12 00:31:10 +00:00
ee22401f76
Add <unistd.h> include for getopt()
Peter Howkins
2012-03-12 00:29:37 +00:00
e2f33fe1dd
-fpermissive to allow gcc to compile old C++
Peter Howkins
2012-03-12 00:27:41 +00:00
e68afb01e6
-fpermissive to allow gcc to compile old C++
Peter Howkins
2012-03-12 00:26:40 +00:00
a513d54964
-fpermissive to allow gcc to compile old C++
Peter Howkins
2012-03-12 00:25:41 +00:00
4a6f362ee7
Use socklen_t type for argument for getsockname()
Peter Howkins
2012-03-12 00:25:04 +00:00
a2706176db
Add int type to previously untyped variable
Peter Howkins
2012-03-12 00:23:06 +00:00
0ada4a2e39
On linux use a iso C (89) stdarg variable argument function.
Peter Howkins
2012-03-12 00:18:13 +00:00
0a9e7d2db9
No easy access to min()/max() macro, rewrite code
Peter Howkins
2012-03-12 00:14:33 +00:00
fc4f30fa88
-fpermissive to allow GCC to compile old C++
Peter Howkins
2012-03-12 00:06:34 +00:00
13f6ea01d4
No easy access to min() or max() macros, rewrite code to not use them.
Peter Howkins
2012-03-12 00:04:39 +00:00
8b79b425f8
No need to create another version of basename(), there's one available on Linux
Peter Howkins
2012-03-11 23:58:53 +00:00
5aea241fd1
Linux uses unistd.h not osfcn.h
Peter Howkins
2012-03-11 23:57:12 +00:00
e8fe4970eb
Linux also needs cast to char * of NULL
Peter Howkins
2012-03-11 23:51:05 +00:00
3d25ba1ea1
No osfcn.h available on linux
Peter Howkins
2012-03-11 23:48:57 +00:00
a4442878a1
Add in wctype.h for widechars
Peter Howkins
2012-03-11 23:47:21 +00:00
b672c0782a
Bodgy support around including X11/Xos_r.h
Peter Howkins
2012-03-11 23:44:52 +00:00
c3dc5b47a1
-fpermissive to allos GCC to compile old C++
Peter Howkins
2012-03-11 23:40:39 +00:00
5948300301
On Linux initialise tt_strings as () rather than (NULL)
Peter Howkins
2012-03-11 23:38:55 +00:00
b195aa51c8
-fpermissive to allow GCC to compile old C++
Peter Howkins
2012-03-11 23:34:37 +00:00
7d5d17251d
-fpermissive to allow gcc to compile old C++
Peter Howkins
2012-03-11 23:33:09 +00:00
233ae141c1
-fpermissive to allow gcc to compile old C++
Peter Howkins
2012-03-11 23:32:08 +00:00
42b737ba2a
On linux it seems that _XTyname() only takes one argument, no buffer required.
Peter Howkins
2012-03-11 19:12:51 +00:00
b89d6294c6
Add in -fpermissive to handle old pre standard C++
Peter Howkins
2012-03-11 19:00:31 +00:00
d0dc9dbe86
On linux no generic.h available, and can use the C++ style delete array
Peter Howkins
2012-03-11 18:16:10 +00:00
67affa6f31
Add linux to list of platforms that are object to those definitions
Peter Howkins
2012-03-11 18:15:12 +00:00
c5e2bbdd1e
Bodgy fix to not being able to find RADIXCHAR define, use '.' instead.
Peter Howkins
2012-03-11 18:08:03 +00:00
b985680de6
Do not re-prototype strdup()
Peter Howkins
2012-03-11 18:04:30 +00:00
94eb7100d3
Do not re-prototype strdup()
Peter Howkins
2012-03-11 18:02:24 +00:00
1483f41a69
Due to glibc not have a 'constant' stderr reference, on linux set the error reporting var at runtime.
Peter Howkins
2012-03-11 17:46:01 +00:00
2d1fd47470
On Linux do not re prototype strdup()
Peter Howkins
2012-03-11 17:33:41 +00:00
56683a700b
Add in extra args required for open() on Linux
Peter Howkins
2012-03-11 16:33:18 +00:00
f4a6262757
Also use internal __fds_bits instead of fds_bits
Peter Howkins
2012-03-11 16:17:39 +00:00
034813b328
On linux do not prototype strdup()
Peter Howkins
2012-03-11 16:16:00 +00:00
b2b6d0d386
Undefine SVR4 whilst including #include <X11/Xos_r.h> to prevent sys/byteorder.h missing header error.
Peter Howkins
2012-03-11 16:14:04 +00:00
bcfc468cdc
Use internal __fds_bit variable on Linux, this doesn't seem great.
Peter Howkins
2012-03-11 16:05:20 +00:00
6f6dbbb73b
Add a default empty LinuxMachineDefines to the linux conf, makes imake (and many others compile)
Peter Howkins
2012-03-11 16:00:15 +00:00
10b463d278
Add in exctra freetype include directory
Peter Howkins
2012-03-11 15:56:24 +00:00
546683e176
GCC no longer supports <varargs.h>, change to <stdarg.h>
Peter Howkins
2012-03-11 14:21:26 +00:00
c884521619
Add GNU LGPL headers to all .c .C and .h files
Peter Howkins
2012-03-10 18:58:32 +00:00
83b6996daa
Initial import of the CDE 2.1.30 sources from the Open Group.
Peter Howkins
2012-03-10 18:21:40 +00:00