Mercurial > hg > octave-max
changeset 1294:549b0a461fd8
[project @ 1995-05-01 18:20:23 by jwe]
author | jwe |
---|---|
date | Mon, 01 May 1995 18:20:23 +0000 |
parents | fd946f5926ce |
children | 34295bf6aac6 |
files | src/defun-dld.h |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/defun-dld.h +++ b/src/defun-dld.h @@ -36,7 +36,8 @@ // If Octave is not configured for dynamic linking of builtin // functions, this is exactly like DEFUN. -#if defined (WITH_DLD) && defined (OCTAVE_LITE) && defined (MAKE_BUILTINS) +#if defined (OCTAVE_LITE) && defined (MAKE_BUILTINS) +#if defined (WITH_DLD) #define DEFUN_DLD_BUILTIN(name, fname, sname, nargin_max, nargout_max, doc) \ BEGIN_INSTALL_BUILTIN \ DEFINE_FUN_STRUCT (name, 0, sname, nargin_max, nargout_max, 0, doc); \ @@ -44,6 +45,12 @@ END_INSTALL_BUILTIN #else #define DEFUN_DLD_BUILTIN(name, fname, sname, nargin_max, nargout_max, doc) \ + BEGIN_INSTALL_BUILTIN \ + const char *sname = name " not included with --enable-lite-kernel"; \ + END_INSTALL_BUILTIN +#endif +#else +#define DEFUN_DLD_BUILTIN(name, fname, sname, nargin_max, nargout_max, doc) \ DEFUN_INTERNAL (name, fname, sname, nargin_max, nargout_max, 0, doc) #endif