atom / node-pathwatcher

Path Watcher Node Module
http://atom.github.io/node-pathwatcher
MIT License
93 stars 47 forks source link

Fix building on unix derivates like Mac, FreeBSD, ... #95

Closed TomFreudenberg closed 9 years ago

TomFreudenberg commented 9 years ago

This PR allows to run pathwatcher module on FreeBSD, OpenBSD, etc.

It fixes missing defines for O_EVTONLY and F_GETPATH.

Also I changed the name of the source file because mm gets not compiled by gmake.

At least I fixed the linter error from grunt prepublish

Hopefully this fix is valuable

zcbenz commented 9 years ago

Looks good to me, thanks!

TomFreudenberg commented 9 years ago

Hey @zcbenz

cool, thanks for fast acceptance :-)

If you are interested, I am doing some ports of meteor - currently working on the FreeBSD/OpenBSD port. So that PR was the last we need to make it live.

https://github.com/4commerce-technologies-AG/meteor

TomFreudenberg commented 9 years ago

One question left @zcbenz

Will you push the new release v6.3.0 also to npmjs?

That would be great. Thanks in advance

Tom

zcbenz commented 9 years ago

I forgot that, it is now published in npmjs.

TomFreudenberg commented 9 years ago

Oh, great! Thanks a lot