forked from enlightenment/efl
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:
parent
e738c5e869
commit
f47bb54f4f
|
@ -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
|
||||
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <Evas.h>
|
||||
#include <Evas.hh>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue