Added EPICS_DEPRECATED.

This commit is contained in:
Andrew Johnson
2008-09-26 17:24:32 +00:00
parent 896223e819
commit 37f4457c03

View File

@@ -1,11 +1,10 @@
/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE Versions 3.13.7
* and higher are distributed subject to a Software License Agreement found
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
@@ -93,4 +92,13 @@
# define EPICS_PRINTF_STYLE(f,a)
#endif
/*
* Deprecation marker
*/
#ifdef __GNUC__
# define EPICS_DEPRECATED __attribute__((deprecated))
#else
# define EPICS_DEPRECATED
#endif
#endif /* ifndef compilerDependencies_h */