Closed bilaliscarioth closed 10 months ago
Should replace defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
to defined(__BSD__)
?
where should defined it on /libs/synapses.h?
This entire repo is just dead/unmaintained, right?
I don't know if I should get it back my branch alive... but i didn't get any response where i could setup a macro as BSD inside GtkRadiant. (I would probably rewrite my ports, more correctly)
So if i can get any response for how i should replace FreeBSD || NetBSD || OpenBSD would be helpful !
Having one macro for all the BSD flavors sounds fine. There were other concerns raised while reviewing this pull request that are arguably more important. Please update the pull request until all concerns are adressed and we'll merge it..
TTimo can a use __unix__
macros or you prefer keeping__BSD__
?
Also as you can see Fix SIGTRAP/SIGILL commit, we need to change char into void against ROP on OpenBSD or undefined behaviours on other unix systems
Seems like a __BSD__
macro would be appropriate in most cases.
BSD macro ready !
condition for avoiding issues from realpath workings well !
up.
Sorry this is still on my list to look at and integrate, I've just been too busy on other things to get to it.
I rebased this and pushed it to https://github.com/TTimo/GtkRadiant/tree/bsd - I'm going to review it and clean it up some more, then merge it in. I will probably squash it all together into a single commit.
This is now merged : https://github.com/TTimo/GtkRadiant/commit/b5dfbd485f312a09054245a1bb1f5716b8e5e78c Thank you for your patience with this!
Some errors from macro, config.py ( adding include dirs like /usr/X11R6/lib) other things like realpath which give an empty string for inexisting file. lock copy file