[ragel-users] [Ugly PATCH] Build on OpenSolaris

Diego E. “Flameeyes” Pettenò flameeyes at gmail.com
Fri Mar 27 23:44:44 UTC 2009


I was working on fixing up some stuff on OpenSolaris, and I had Ragel
6.4 failing to build. The problem is that CS has not one but two
definitions inside OpenSolaris's system headers.

The patch is _very_ ugly but gets the job done; sincerely I'd recommend
to rename the method in something slightly longer to avoid macros on
other systems too.

HTH!

-- 
Diego Elio Pettenò — “Flameeyes”
http://blog.flameeyes.eu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ragel-6.4-solaris.patch
Type: text/x-patch
Size: 2207 bytes
Desc: not available
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20090328/ee674066/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.colm.net/pipermail/ragel-users/attachments/20090328/ee674066/attachment-0001.sig>


More information about the ragel-users mailing list