cxx: Fix evas compile test and Evas.hh

The c++ header was checking the wrong header guard. Fixing that would
break the compilation test, as it was doing the wrong thing. Also I
think config.h should not be included for compilation tests. This should
make things slightly better.
This commit is contained in:
Jean-Philippe Andre 2017-11-23 14:43:06 +09:00
parent e738c5e869
commit f47bb54f4f
2 changed files with 1 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#ifndef EVAS_HH
#define EVAS_HH
#if defined(EVAS_H)
#if defined(_EVAS_H)
#error "Do not include Evas C API headers before including Evas.hh"
#endif

View File

@ -1,13 +1,5 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <Evas.h>
#include <Evas.hh>
#include <iostream>
int main()
{
return 0;