Removed the 'setenv' function of the Third Party Windows platform. 52/226252/10
authorVictor Cebollada <v.cebollada@samsung.com>
Thu, 27 Feb 2020 07:55:18 +0000 (07:55 +0000)
committerVictor Cebollada <v.cebollada@samsung.com>
Tue, 31 Mar 2020 08:06:15 +0000 (09:06 +0100)
* Moved to windows-dependencies as it's needed by dali-demo.

Change-Id: I329519c6825f4f9487cd05ded5f085afc6481bac
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
third-party/windows-platform/environment.cpp
third-party/windows-platform/extern-definitions.h

index d6dab55..f218e20 100644 (file)
@@ -3,15 +3,6 @@
 
 using namespace std;
 
-int setenv( const char *__name, const char *__value, int __replace )
-{
-  string value = __name;
-  value += "=";
-  value += __value;
-
-  return putenv( value.c_str() );
-}
-
 const char* app_get_data_path()
 {
   static std::string envValue = "";
index 814b1e4..4b4ef27 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <xlocale>
 
-int setenv( const char* __name, const char* __value, int __replace );
 const char* app_get_data_path();
 
 static int strncasecmp(const char *s1, const char *s2, register int n)