Navigation



Ignore:
Timestamp:
Feb 18, 2020, 6:58:20 PM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
committer:
Luke Mewburn <luke@mewburn.net> 1582020006 -39600
Message:

fix build with MySQL >= 8.0

MySQL 8.0 deprecated my_bool in favour of C99's bool.
Detect if my_bool is available, and if not, provide
a replacement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_diameap/diameap_init.c

    r974 r1418  
    3838
    3939#include "diameap_common.h"
     40
     41#ifndef HAVE_MYSQL_MY_BOOL
     42#include <stdbool.h>
     43typedef bool my_bool;
     44#endif /* HAVE_MYSQL_MY_BOOL */
    4045
    4146/* Dictionary Object templates */
Note: See TracChangeset for help on using the changeset viewer.