Compiler portability.

This commit is contained in:
steve 2002-06-14 03:25:51 +00:00
parent f45b17973c
commit 4f0ffa2258
2 changed files with 19 additions and 11 deletions

14
HName.h
View File

@ -19,13 +19,14 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) #if !defined(WINNT)
#ident "$Id: HName.h,v 1.1 2001/12/03 04:47:14 steve Exp $" #ident "$Id: HName.h,v 1.2 2002/06/14 03:25:51 steve Exp $"
#endif #endif
#ifdef HAVE_IOSFWD # include <iostream>
# include <iosfwd> #ifdef __GNUC__
#else #if __GNUC__ > 2
class ostream; using namespace std;
#endif
#endif #endif
/* /*
@ -78,6 +79,9 @@ extern bool operator == (const hname_t&, const hname_t&);
/* /*
* $Log: HName.h,v $ * $Log: HName.h,v $
* Revision 1.2 2002/06/14 03:25:51 steve
* Compiler portability.
*
* Revision 1.1 2001/12/03 04:47:14 steve * Revision 1.1 2001/12/03 04:47:14 steve
* Parser and pform use hierarchical names as hname_t * Parser and pform use hierarchical names as hname_t
* objects instead of encoded strings. * objects instead of encoded strings.

View File

@ -1,7 +1,7 @@
#ifndef __PDelays_H #ifndef __PDelays_H
#define __PDelays_H #define __PDelays_H
/* /*
* Copyright (c) 1999 Stephen Williams (steve@icarus.com) * Copyright (c) 1999-2002 Stephen Williams (steve@icarus.com)
* *
* This source code is free software; you can redistribute it * This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU * and/or modify it in source code form under the terms of the GNU
@ -19,16 +19,17 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) && !defined(macintosh) #if !defined(WINNT) && !defined(macintosh)
#ident "$Id: PDelays.h,v 1.5 2001/12/29 20:19:31 steve Exp $" #ident "$Id: PDelays.h,v 1.6 2002/06/14 03:25:51 steve Exp $"
#endif #endif
# include "svector.h" # include "svector.h"
# include <string> # include <string>
# include <iostream>
#ifdef HAVE_IOSFWD #ifdef __GNUC__
# include <iosfwd> #if __GNUC__ > 2
#else using namespace std;
class ostream; #endif
#endif #endif
class Design; class Design;
@ -71,6 +72,9 @@ ostream& operator << (ostream&o, const PDelays&);
/* /*
* $Log: PDelays.h,v $ * $Log: PDelays.h,v $
* Revision 1.6 2002/06/14 03:25:51 steve
* Compiler portability.
*
* Revision 1.5 2001/12/29 20:19:31 steve * Revision 1.5 2001/12/29 20:19:31 steve
* Do not delete delay expressions of UDP instances. * Do not delete delay expressions of UDP instances.
* *