Commit Graph

20 Commits

Author SHA1 Message Date
Peter Howkins a513d54964 -fpermissive to allow gcc to compile old C++ 2012-03-12 00:25:41 +00:00
Peter Howkins 4a6f362ee7 Use socklen_t type for argument for getsockname() 2012-03-12 00:25:04 +00:00
Peter Howkins a2706176db Add int type to previously untyped variable 2012-03-12 00:23:06 +00:00
Peter Howkins 0ada4a2e39 On linux use a iso C (89) stdarg variable argument function.
Gcc no longer supports old style varargs.h
2012-03-12 00:18:13 +00:00
Peter Howkins 0a9e7d2db9 No easy access to min()/max() macro, rewrite code 2012-03-12 00:14:33 +00:00
Peter Howkins fc4f30fa88 -fpermissive to allow GCC to compile old C++ 2012-03-12 00:06:34 +00:00
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 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