This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove the obsolete code for NO_EMBED from sdbm.h
authorNicholas Clark <nick@ccl4.org>
Fri, 9 Dec 2011 15:43:21 +0000 (16:43 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 9 Dec 2011 15:43:21 +0000 (16:43 +0100)
Support for NO_EMBED was removed by commit 22c35a8c2392967 in 1998.
Minitrue attempted to eliminate all mention of it in 2003 with commit
a0a44e237c19cc2b, but missed this code in sdbm.h

ext/SDBM_File/sdbm/sdbm.h

index 53fc366..2b8d0e9 100644 (file)
@@ -250,11 +250,7 @@ Free_t   Perl_mfree proto((Malloc_t where));
 #else
 #   ifndef memcmp
        /* maybe we should have included the full embedding header... */
-#      ifdef NO_EMBED
-#          define memcmp my_memcmp
-#      else
-#          define memcmp Perl_my_memcmp
-#      endif
+#      define memcmp Perl_my_memcmp
 #ifndef __cplusplus
        extern int memcmp proto((char*, char*, int));
 #endif