Fixed include exclusions cross-OS

This commit is contained in:
Pierre Pronchery 2006-04-17 15:49:51 +00:00
parent 9757108126
commit 1ac50abd1d
9 changed files with 27 additions and 27 deletions

View File

@ -2,8 +2,8 @@
#ifndef _SYSTEM_H_
# define _SYSTEM_H_
#ifndef LIBSYSTEM_SYSTEM_H
# define LIBSYSTEM_SYSTEM_H
# include "System/appclient.h"
@ -13,4 +13,4 @@
# include "System/event.h"
# include "System/string.h"
#endif /* !_SYSTEM_H_ */
#endif /* !LIBSYSTEM_SYSTEM_H */

View File

@ -2,8 +2,8 @@
#ifndef _APPCLIENT_H_
# define _APPCLIENT_H_
#ifndef LIBSYSTEM_APPCLIENT_H
# define LIBSYSTEM_APPCLIENT_H
# include "event.h"
@ -21,4 +21,4 @@ void appclient_delete(AppClient * appclient);
/* useful */
int appclient_call(AppClient * appclient, char * function, int args_cnt, ...);
#endif /* !_APPCLIENT_H_ */
#endif /* !LIBSYSTEM_APPCLIENT_H */

View File

@ -2,8 +2,8 @@
#ifndef _APPSERVER_H_
# define _APPSERVER_H_
#ifndef LIBSYSTEM_APPSERVER_H
# define LIBSYSTEM_APPSERVER_H
# include "event.h"
@ -26,4 +26,4 @@ void appserver_delete(AppServer * appserver);
/* useful */
int appserver_loop(AppServer * appserver);
#endif /* !_APPSERVER_H_ */
#endif /* !LIBSYSTEM_APPSERVER_H */

View File

@ -2,8 +2,8 @@
#ifndef _ARRAY_H_
# define _ARRAY_H_
#ifndef LIBSYSTEM_ARRAY_H
# define LIBSYSTEM_ARRAY_H
# define ARRAY(type, name) \
@ -35,4 +35,4 @@ int array_get_copy(Array * array, unsigned int pos, void * data);
int array_remove_pos(Array * array, unsigned int pos);
int array_set(Array * array, unsigned int pos, void * data);
#endif /* !_ARRAY_H_ */
#endif /* !LIBSYSTEM_ARRAY_H */

View File

@ -2,8 +2,8 @@
#ifndef _BUFFER_H_
# define _BUFFER_H_
#ifndef LIBSYSTEM_BUFFER_H
# define LIBSYSTEM_BUFFER_H
/* Buffer */
@ -20,4 +20,4 @@ void buffer_delete(Buffer * buffer);
char * buffer_data(Buffer const * buffer);
unsigned int buffer_length(Buffer const * buffer);
#endif /* !_BUFFER_H_ */
#endif /* !LIBSYSTEM_BUFFER_H */

View File

@ -2,8 +2,8 @@
#ifndef _CONFIG_H_
# define _CONFIG_H_
#ifndef LIBSYSTEM_CONFIG_H
# define LIBSYSTEM_CONFIG_H
# include "hash.h"
@ -25,4 +25,4 @@ int config_set(Config * config, char const * section, char const * variable,
int config_load(Config * config, char const * filename);
int config_save(Config * config, char const * filename);
#endif /* !_CONFIG_H_ */
#endif /* !LIBSYSTEM_CONFIG_H */

View File

@ -2,8 +2,8 @@
#ifndef _EVENT_H_
# define _EVENT_H_
#ifndef LIBSYSTEM_EVENT_H
# define LIBSYSTEM_EVENT_H
# include <sys/time.h>
# include <time.h>
@ -33,4 +33,4 @@ int event_unregister_io_read(Event * event, int fd);
int event_unregister_io_write(Event * event, int fd);
int event_unregister_timeout(Event * event, EventTimeoutFunc func);
#endif /* !_EVENT_H_ */
#endif /* !LIBSYSTEM_EVENT_H */

View File

@ -2,8 +2,8 @@
#ifndef _HASH_H_
# define _HASH_H_
#ifndef LIBSYSTEM_HASH_H
# define LIBSYSTEM_HASH_H
# include "array.h"
@ -24,4 +24,4 @@ void * hash_get(Hash * h, char const * name);
int hash_set(Hash * h, char const * name, void * data);
#endif /* !_HASH_H_ */
#endif /* !LIBSYSTEM_HASH_H */

View File

@ -2,8 +2,8 @@
#ifndef _STRING_H_
# define _STRING_H_
#ifndef LIBSYSTEM_STRING_H
# define LIBSYSTEM_STRING_H
/* String */
@ -21,4 +21,4 @@ void string_cut(String * string, unsigned int length);
String const * string_find(String const * string, String const * key);
int string_length(String const * string);
#endif /* !_STRING_H_ */
#endif /* !LIBSYSTEM_STRING_H */