1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00
Commit graph

2031 commits

Author SHA1 Message Date
Peter Howkins
13f6ea01d4 No easy access to min() or max() macros, rewrite code to not use them. 2012-03-12 00:04:39 +00:00
Peter Howkins
8b79b425f8 No need to create another version of basename(), there's one available
on Linux
2012-03-11 23:58:53 +00:00
Peter Howkins
5aea241fd1 Linux uses unistd.h not osfcn.h 2012-03-11 23:57:12 +00:00
Peter Howkins
e8fe4970eb Linux also needs cast to char * of NULL 2012-03-11 23:51:05 +00:00
Peter Howkins
3d25ba1ea1 No osfcn.h available on linux 2012-03-11 23:48:57 +00:00
Peter Howkins
a4442878a1 Add in wctype.h for widechars 2012-03-11 23:47:21 +00:00
Peter Howkins
b672c0782a Bodgy support around including X11/Xos_r.h
Undefine index and rindex first to prevent clashes with tt funcs.

Should be fixed by namespacing local funcs
2012-03-11 23:44:52 +00:00
Peter Howkins
c3dc5b47a1 -fpermissive to allos GCC to compile old C++ 2012-03-11 23:40:39 +00:00
Peter Howkins
5948300301 On Linux initialise tt_strings as () rather than (NULL) 2012-03-11 23:38:55 +00:00
Peter Howkins
b195aa51c8 -fpermissive to allow GCC to compile old C++ 2012-03-11 23:34:37 +00:00
Peter Howkins
7d5d17251d -fpermissive to allow gcc to compile old C++ 2012-03-11 23:33:09 +00:00
Peter Howkins
233ae141c1 -fpermissive to allow gcc to compile old C++ 2012-03-11 23:32:08 +00:00
Peter Howkins
42b737ba2a On linux it seems that _XTyname() only takes one argument, no buffer required. 2012-03-11 19:12:51 +00:00
Peter Howkins
b89d6294c6 Add in -fpermissive to handle old pre standard C++ 2012-03-11 19:00:31 +00:00
Peter Howkins
d0dc9dbe86 On linux no generic.h available, and can use the C++ style delete array 2012-03-11 18:16:10 +00:00
Peter Howkins
67affa6f31 Add linux to list of platforms that are object to those definitions 2012-03-11 18:15:12 +00:00
Peter Howkins
c5e2bbdd1e Bodgy fix to not being able to find RADIXCHAR define, use '.' instead.
Come back to this later.
2012-03-11 18:08:03 +00:00
Peter Howkins
b985680de6 Do not re-prototype strdup() 2012-03-11 18:04:30 +00:00
Peter Howkins
94eb7100d3 Do not re-prototype strdup() 2012-03-11 18:02:24 +00:00
Peter Howkins
1483f41a69 Due to glibc not have a 'constant' stderr reference, on linux set the error
reporting var at runtime.
2012-03-11 17:46:01 +00:00
Peter Howkins
2d1fd47470 On Linux do not re prototype strdup() 2012-03-11 17:33:41 +00:00
Peter Howkins
56683a700b Add in extra args required for open() on Linux 2012-03-11 16:33:18 +00:00
Peter Howkins
f4a6262757 Also use internal __fds_bits instead of fds_bits 2012-03-11 16:17:39 +00:00
Peter Howkins
034813b328 On linux do not prototype strdup() 2012-03-11 16:16:00 +00:00
Peter Howkins
b2b6d0d386 Undefine SVR4 whilst including #include <X11/Xos_r.h> to prevent sys/byteorder.h
missing header error.
2012-03-11 16:14:04 +00:00
Peter Howkins
bcfc468cdc Use internal __fds_bit variable on Linux, this doesn't seem great. 2012-03-11 16:05:20 +00:00
Peter Howkins
6f6dbbb73b Add a default empty LinuxMachineDefines to the linux conf, makes imake (and many others compile) 2012-03-11 16:00:15 +00:00
Peter Howkins
10b463d278 Add in exctra freetype include directory 2012-03-11 15:56:24 +00:00
Peter Howkins
546683e176 GCC no longer supports <varargs.h>, change to <stdarg.h> 2012-03-11 14:21:26 +00:00
Peter Howkins
c884521619 Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Peter Howkins
83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00