/[svn]/linuxsampler/trunk/src/common/global.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2086 by persson, Sun Apr 25 12:51:30 2010 UTC revision 3574 by schoenebeck, Wed Aug 28 08:26:54 2019 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2010 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2019 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 57  typedef unsigned int uint; Line 57  typedef unsigned int uint;
57  #include <sys/types.h>  #include <sys/types.h>
58  #endif  #endif
59    
60    #ifdef __GNUC__
61    #define DEPRECATED_API __attribute__ ((deprecated))
62    #else
63    #define DEPRECATED_API
64    #endif
65    
66    // whether compiler is C++11 standard compliant
67    #if defined(__cplusplus) && __cplusplus >= 201103L
68    # define IS_CPP11 1
69    #endif
70    
71    // C++ "override" keyword introduced with C++11 standard
72    #if IS_CPP11
73    # define OVERRIDE override
74    # define FINAL final
75    #else
76    # define OVERRIDE
77    # define FINAL
78    #endif
79    
80  #endif // __LS_GLOBAL_H__  #endif // __LS_GLOBAL_H__

Legend:
Removed from v.2086  
changed lines
  Added in v.3574

  ViewVC Help
Powered by ViewVC