Mercurial > hg > octave-avbm
changeset 752:3dece74ae10c
[project @ 1994-09-30 18:54:26 by jwe]
author | jwe |
---|---|
date | Fri, 30 Sep 1994 18:57:01 +0000 |
parents | c9f3cb77478d |
children | b909cb750b35 |
files | liboctave/Array.cc src/Queue.h src/SLQueue.h |
diffstat | 3 files changed, 2 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/Array.cc +++ b/liboctave/Array.cc @@ -1002,8 +1002,8 @@ delete old_rep; } -#if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES) -#if defined (OCTAVE_SOURCE) +#if defined (__GNUG__) +#if defined (OCTAVE_SOURCE) && defined (USE_EXTERNAL_TEMPLATES) typedef Array<double> array_type_double; typedef Array2<double> array2_type_double; @@ -1017,20 +1017,6 @@ #include "tree-const.h" typedef Array<tree_constant> array_type_tree_constant; -#elif defined (USER_TYPEDEFS) - -// Users can generate their own .o files with their own types, as many -// times as they like. USER_TYPEDEFS should be defined to be the name -// of an include file that contains typdefs for the desired types. -// -// For example, if my-types.h contains typedefs for the Array types -// you are interested in, you might compile this file with the command -// -// g++ -fexternal-templates -DUSE_EXTERNAL_TEMPLATES \ -// -DUSER_TYPEDEFS=\"my-types.h\" - -#include USER_TYPEDEFS - #endif #endif