comparison lib/stdio.in.h @ 12418:be5edb878c7a

stdio: Avoid syntax error in C++ mode.
author Bruno Haible <bruno@clisp.org>
date Thu, 10 Dec 2009 14:08:47 +0100
parents a0f033ee41af
children e8d2c6fc33ad
comparison
equal deleted inserted replaced
12417:e09c73938d46 12418:be5edb878c7a
446 446
447 #if @GNULIB_RENAME@ 447 #if @GNULIB_RENAME@
448 # if @REPLACE_RENAME@ 448 # if @REPLACE_RENAME@
449 # undef rename 449 # undef rename
450 # define rename rpl_rename 450 # define rename rpl_rename
451 extern int rename (const char *old, const char *new); 451 extern int rename (const char *old_filename, const char *new_filename);
452 # endif 452 # endif
453 #elif defined GNULIB_POSIXCHECK 453 #elif defined GNULIB_POSIXCHECK
454 # undef rename 454 # undef rename
455 # define rename(o,n) \ 455 # define rename(o,n) \
456 (GL_LINK_WARNING ("rename is buggy on some platforms - " \ 456 (GL_LINK_WARNING ("rename is buggy on some platforms - " \