Any chance of a BSD constant?

new topic     » topic index » view thread      » older message » newer message

I'm a huge FreeBSD fan (best server OS ever) but never really used Euphoria on
it for whatever reason until now. However, I've run into a problem with a script
I wrote. This script does some security related stuff and needs to open a .so
file. Sadly, on BSD I use a more reliable library than the one that Linux has but
I need the script to work on both platforms but platform() returns LINUX for
both. I had a workaround that used certain files in the filesystem heirarchy to
determine the OS but I intend to use this on BSD as a jailed process and don't
want to have to allow access to certain directories just to determine the
platform. So, is there any chance of having a BSD constant for use by platform()
for those of us that are developing for both BSD and Linux at a level where they
differ?


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu