From 23f9ab0a7d370b5da4088036baaa49b6e0ad79d1 Mon Sep 17 00:00:00 2001 From: beveloper Date: Sat, 26 Oct 2002 13:07:30 +0000 Subject: [PATCH] fixed the extern "C" header guards, it must read __cplusplus, not _cplusplus. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1679 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/dirent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/posix/dirent.h b/headers/posix/dirent.h index 0ff63074e3..d0191cf709 100644 --- a/headers/posix/dirent.h +++ b/headers/posix/dirent.h @@ -29,7 +29,7 @@ typedef struct { # endif #endif -#ifdef _cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -38,7 +38,7 @@ struct dirent *readdir(DIR *dirp); int closedir(DIR *dirp); void rewinddir(DIR *dirp); -#ifdef _cplusplus +#ifdef __cplusplus } #endif