commit | 79f1638df2a298b6d13ee43bee339f65bdd06b50 | [log] [tgz] |
---|---|---|
author | Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> | Mon Nov 30 10:36:51 1998 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Nov 30 10:36:51 1998 +0000 |
tree | f79140625f1c5db9cfd6872d99f4fe936b364443 | |
parent | 6dd19961c59743671d5060aae290904f2937bddc [diff] [blame] |
Fixes for C++ Winelib compilation.
diff --git a/include/xmalloc.h b/include/xmalloc.h index 78c355c..e909cb8 100644 --- a/include/xmalloc.h +++ b/include/xmalloc.h
@@ -1,9 +1,17 @@ #ifndef __WINE_XMALLOC_H #define __WINE_XMALLOC_H +#ifdef __cplusplus +extern "C" { +#endif + void *xmalloc( int size ); void *xcalloc( int size ); void *xrealloc( void *ptr, int size ); char *xstrdup( const char *str ); +#ifdef __cplusplus +} +#endif + #endif /* __WINE_XMALLOC_H */