From 9021d33f1c95c4deb7aba092fa5f551e3e8f4c81 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 12 Dec 2001 14:03:30 +0000 Subject: [PATCH] [project @ 2001-12-12 14:03:30 by simonmar] Add multi-slurp protection --- ghc/includes/Stable.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ghc/includes/Stable.h b/ghc/includes/Stable.h index 241f42b..28227ec 100644 --- a/ghc/includes/Stable.h +++ b/ghc/includes/Stable.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stable.h,v 1.10 2001/11/21 10:09:15 simonmar Exp $ + * $Id: Stable.h,v 1.11 2001/12/12 14:03:30 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -12,7 +12,10 @@ * casting. Size is not a matter, because StgWord is always the same size as * a void*. * - * ----------------------------------------------------------------------------*/ + * ---------------------------------------------------------------------------*/ + +#ifndef STABLE_H +#define STABLE_H /* ----------------------------------------------------------------------------- External C Interface @@ -68,3 +71,5 @@ splitStablePtr(StgStablePtr sp) /* No deRefStableName, because the existence of a stable name doesn't * guarantee the existence of the object itself. */ + +#endif -- 1.7.10.4