Dan Crosta on 26 Jul 2006 16:57:13 -0000 |
Daniel K. Spicer wrote: I'm doing a code port from Solaris to Suse Linux. The ported code will need to run on both so I need a preproccessor directive in the .c files like: You can work some magic in your makefile with `uname`... that'll at least get you a kernel name (ie 'Linux' or 'Solaris'), not sure about SUSE specifically. - d ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|