Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
err.h
Go to the documentation of this file.
1
/* Libmacro - A multi-platform, extendable macro and hotkey C library
2
Copyright (C) 2013 Jonathan Pelletier, New Paradigm Software
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 2.1 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public
15
License along with this library; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
25
#ifdef __GNUC__
26
#error Error!
27
#elif defined(__clang__)
28
#pragma GCC error "Error!"
29
#else
30
/* MSVC-specific error, but will at least print a message for
31
* unknown compilers.
32
*/
33
#pragma message "Error Msg: Error!"
34
#endif
mcr
err.h
Generated on Sun Sep 27 2020 01:58:02 for Libmacro by
1.8.12