tests: Added config.h to tests.
This commit is contained in:
parent
159eaea005
commit
273e9fede6
|
@ -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>
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue