tests: Added config.h to tests.

This commit is contained in:
Savio Sena 2014-07-11 20:19:01 -03:00 committed by Felipe Magno de Almeida
parent 159eaea005
commit 273e9fede6
2 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,10 @@
//Compile with:
//gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina`
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdio.h>
#include <Eina.hh>

View File

@ -1,6 +1,10 @@
//Compile with:
//gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina`
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdio.h>
#include <Eina.hh>
@ -13,7 +17,6 @@ namespace eina = efl::eina;
void thread1(eina::mutex&)
{
}
int main()
@ -27,6 +30,6 @@ int main()
eina::unique_lock<eina::mutex> l(m);
eina::thread thread1(&::thread1, eina::ref(m));
thread1.join();
}