News for hackers. Stuff that matters.
Re:Why does the C preprocessor interpret the word “linux” as... by blueblob on Wednesday October 09, 2013 @10:00AM (#6521242)
This is awesome, I am going to divide by linux in my code everywhere in an attempt to obfuscate what I am doing.
Re:Why does the C preprocessor interpret the word “linux” as... by _kst_ on Wednesday October 09, 2013 @02:08PM (#6522796)
You should divide by (linux - unix).
Re:Why does the C preprocessor interpret the word “linux” as... by berntb on Wednesday October 09, 2013 @10:20AM (#6521365)
At least anyone trying to port your code to Windows will be a bit surprised... :-)

Edit: Or /.*BSD/. :-(

Re:Why does the C preprocessor interpret the word “linux” as... by yk on Wednesday October 09, 2013 @10:25AM (#6521391)
Non portability to Windows is a feature.