|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] OT: C question: anyone know what a SunOS box defines?
|
> and I see some:
>
> __OpenBSD__
> __CYGWIN32__
> __LINUX__
> LINUX
>
> damn.
[user@host dir$] find /usr/include/ -type f | xargs grep -i sun | grep \# | grep if | less
haha:
/usr/include/rpcsvc/yp.h:#ifdef STUPID_SUN_BUG
/usr/include/rpcsvc/yp_prot.h:#ifdef STUPID_SUN_BUG
more haha:
[user@host dir$] find /usr/include/ -type f | xargs grep -i stupid
/usr/include/qt2/qglobal.h:// Avoid some particularly useless warnings from some stupid compilers.
/usr/include/qt2/qmap.h: // Cannot have this - some compilers are too stupid
/usr/include/qt2/qmap.h: // Cannot have this - some compilers are too stupid
/usr/include/linux/reiserfs_fs.h: /* this file has an amazingly stupid
/usr/include/mysql/my_global.h:#define POSIX_MISTAKE 1 /* regexp: Fix stupid spec error */
/usr/include/gtk-xmhtml/XmHTML.h:* stupid LZW licensing policy. Exporting an image as PNG, JPEG or GZF is only
/usr/include/hdfi.h:# pragma warning( disable: 4273 ) /* Disable the stupid dll linkage warnings */
/usr/include/hdfi.h:#ifndef VOID /* The stupid windows.h header file uses a #define instead of a typedef */
/usr/include/freetype2/freetype/internal/ftcalc.h: /* Computes the square root of a 64-bit value. That sounds stupid, */
/usr/include/freetype2/freetype/internal/ftcalc.h: /* Computes the square root of a 64-bits value. That sounds stupid, */
/usr/include/rpcsvc/yp.h:#ifdef STUPID_SUN_BUG
/usr/include/rpcsvc/yp.x:#ifdef STUPID_SUN_BUG
/usr/include/rpcsvc/yp.x:#ifdef STUPID_SUN_BUG
/usr/include/rpcsvc/yp_prot.h:#ifdef STUPID_SUN_BUG
/usr/include/equalizerview.h: void qCheckBoxIsStupid(bool);
/usr/include/openssl/err.h:/* Borland C seems too stupid to be able to shift and do longs in
/usr/include/kmessagebox.h: * or your user did something stupid.
/usr/include/ORBitutil/thread-safety.h:/* stupid work around ANSI & empty semicolons. */
--
------------------------------------------------------------------------------
Wisdom and Compassion are inseparable.
-- Christmas Humphreys
mortis@voicenet.com http://www.voicenet.com/~mortis
------------------------------------------------------------------------------
______________________________________________________________________
Philadelphia Linux Users Group - http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|