]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/debug.h
some changes to make the library working with gcc 3.0 (mostly namespace
[openldap] / contrib / ldapc++ / src / debug.h
index e9160befd2125371265945415e99583694c80128..c400a4b0a9fb5a532469fc2f40cc082a40d028cf 100644 (file)
 #define DEBUGLEVEL LDAP_DEBUG_ANY
 
 #define PRINT_FILE     \
-       cerr << "file: " __FILE__  << " line: " << __LINE__ 
+       std::cerr << "file: " __FILE__  << " line: " << __LINE__ 
 
 #ifdef WITH_DEBUG
 #define DEBUG(level, arg)       \
     if((level) & DEBUGLEVEL){     \
-        cerr  << arg ;          \
+        std::cerr  << arg ;          \
     } 
 #else
 #undef DEBUG