genericopenlibs/cppstdlib/stl/test/unit/epilog_test.cpp
author Peter Fordham <peter.fordham@gmail.com>
Mon, 22 Mar 2010 12:57:04 -0700
branchCompilerCompatibility
changeset 13 ef48f5dc1b7f
parent 0 e4d67989cc36
child 18 47c74d1534e1
permissions -rw-r--r--
Bug 1713 - You can't check the existence of a typedef using the preprocessor. Added a preprocessor check. Also removed an overqualified method name.

#include <time.h>
#include <string>

#if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)

struct some_struct {
    std::string s; // if std not properly redefined, error will be here
};

#endif