diff options
author | Jose <jose@zeroc.com> | 2009-02-19 20:44:56 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-02-19 20:44:56 +0100 |
commit | f27cee4065b4282b2028ff97180eca12c67d870b (patch) | |
tree | 5d2b208d0423512877abd26f99bd7f903a762b9d /cpp/src/IceGrid/Activator.cpp | |
parent | Bug 3410 - remove deprecation of Ice.MonitorConnections (diff) | |
download | ice-f27cee4065b4282b2028ff97180eca12c67d870b.tar.bz2 ice-f27cee4065b4282b2028ff97180eca12c67d870b.tar.xz ice-f27cee4065b4282b2028ff97180eca12c67d870b.zip |
Bug 3650 - Stop using POSIX functions under Windows
Diffstat (limited to 'cpp/src/IceGrid/Activator.cpp')
-rw-r--r-- | cpp/src/IceGrid/Activator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/Activator.cpp b/cpp/src/IceGrid/Activator.cpp index aad9b15b64f..3c5cf1b5dcd 100644 --- a/cpp/src/IceGrid/Activator.cpp +++ b/cpp/src/IceGrid/Activator.cpp @@ -482,7 +482,11 @@ Activator::activate(const string& name, // // Make a copy of the command line. // +#if defined(_MSC_VER) && (_MSC_VER >= 1400) + char* cmdbuf = _strdup(cmd.c_str()); +#else char* cmdbuf = strdup(cmd.c_str()); +#endif // // Create the environment block for the child process. We start with the environment |