1 | |
2 | // vim:sw=2:ai |
3 | |
4 | /* |
5 | * Copyright (C) 2010-2011 DeNA Co.,Ltd.. All rights reserved. |
6 | * Copyright (C) 2011-2017 Kentoku SHIBA |
7 | * See COPYRIGHT.txt for details. |
8 | */ |
9 | |
10 | #ifndef DENA_FATAL_HPP |
11 | #define DENA_FATAL_HPP |
12 | |
13 | #include "mysql_version.h" |
14 | #if MYSQL_VERSION_ID < 50500 |
15 | #include "mysql_priv.h" |
16 | #include <mysql/plugin.h> |
17 | #else |
18 | #include "sql_priv.h" |
19 | #include "probes_mysql.h" |
20 | #include "sql_class.h" |
21 | #endif |
22 | |
23 | namespace dena { |
24 | |
25 | void fatal_abort(const String& message); |
26 | void fatal_abort(const char *message); |
27 | |
28 | }; |
29 | |
30 | #endif |
31 | |
32 | |