Changeset View
Changeset View
Standalone View
Standalone View
src/core-impl/storage/sql/mysql-shared/MySqlStorage.h
Context not available. | |||||
19 | #define AMAROK_STORAGE_MYSQLSTORAGE_H | 19 | #define AMAROK_STORAGE_MYSQLSTORAGE_H | ||
---|---|---|---|---|---|
20 | 20 | | |||
21 | #include "core/storage/SqlStorage.h" | 21 | #include "core/storage/SqlStorage.h" | ||
22 | #include <mysql/mysql_version.h> | ||||
22 | 23 | | |||
23 | 24 | | |||
24 | #include <QMutex> | 25 | #include <QMutex> | ||
Context not available. | |||||
28 | #include <winsock2.h> | 29 | #include <winsock2.h> | ||
29 | #endif | 30 | #endif | ||
30 | 31 | | |||
32 | #if MYSQL_VERSION_ID < 60000 | ||||
31 | struct st_mysql; | 33 | struct st_mysql; | ||
32 | typedef struct st_mysql MYSQL; | 34 | typedef struct st_mysql MYSQL; | ||
35 | #else | ||||
36 | struct MYSQL; | ||||
37 | using my_bool = bool; | ||||
38 | #endif | ||||
33 | 39 | | |||
34 | /** | 40 | /** | ||
35 | * Implements a SqlStorage using a MySQL backend | 41 | * Implements a SqlStorage using a MySQL backend | ||
Context not available. |