netty5/transport-native-kqueue/src/main/c
Carl Mastrangelo 7f1051b6ca Include JNIEXPORT on exported symbols
Motivation:
As noticed in https://stackoverflow.com/questions/45700277/
compilation can fail if the definition of a method doesn't
match the declaration.  It's easy enough to add this in, and make
it easy to compile.

Modifications:
Add JNIEXPORT to the entry points.

* On Windows this adds: `__declspec(dllexport)`
* On Mac this adds: `__attribute__((visibility("default")))`
* On Linux (GCC 4.2+) this adds: ` __attribute__((visibility("default")))`
* On other it doesn't add anything.

Result:
Easier compilation
2017-08-18 17:34:48 -07:00
..
netty_kqueue_bsdsocket.c Make Native loading work better with Java 8 2017-06-23 19:42:13 +02:00
netty_kqueue_bsdsocket.h New native transport for kqueue 2017-05-03 09:53:22 -07:00
netty_kqueue_eventarray.c KQueue crash due to close/cleanup sequencing 2017-06-28 17:34:19 -04:00
netty_kqueue_eventarray.h New native transport for kqueue 2017-05-03 09:53:22 -07:00
netty_kqueue_native.c Include JNIEXPORT on exported symbols 2017-08-18 17:34:48 -07:00