1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dln.c: remove defined(__WATCOMC__).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2015-10-18 02:23:18 +00:00
parent 3a49d35352
commit 348d7b096d
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Oct 18 11:22:52 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* dln.c: remove defined(__WATCOMC__).
Sun Oct 18 11:16:33 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com> Sun Oct 18 11:16:33 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* lib/mkmf.rb: Good-by Borland-C. * lib/mkmf.rb: Good-by Borland-C.

2
dln.c
View file

@ -106,7 +106,7 @@ dln_loaderror(const char *format, ...)
# define USE_DLN_DLOPEN # define USE_DLN_DLOPEN
#endif #endif
#if defined(__hp9000s300) || ((defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)) && !defined(__ELF__)) || defined(NeXT) || defined(__WATCOMC__) || defined(MACOSX_DYLD) #if defined(__hp9000s300) || ((defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)) && !defined(__ELF__)) || defined(NeXT) || defined(MACOSX_DYLD)
# define EXTERNAL_PREFIX "_" # define EXTERNAL_PREFIX "_"
#else #else
# define EXTERNAL_PREFIX "" # define EXTERNAL_PREFIX ""