Commit f75ab185 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(USE): Changes to shut up gcc 2.7.0.

parent 2e166d15
/*
* $Id: rcs.h,v 1.2 1993/02/12 14:09:07 ceder Exp $
* $Id: rcs.h,v 1.3 1995/09/01 19:58:00 ceder Exp $
* Copyright (C) 1993 Lysator Academic Computer Association.
*
* This file is part of the LysKOM system.
......@@ -27,7 +27,10 @@
It is used in every LysKOM file that uses the RCS keywords to
initialize an rcsid string. */
#if __GNUC__ == 2
#if ____GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
#define USE(var) \
static void * use_##var __attribute__ ((unused)) = (void *) &var
#elif __GNUC__ == 2
#define USE(var) \
static void * use_##var = (&use_##var, (void *) &var)
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment