Skip to content

Commit

Permalink
remove legacy NO_JAVA preproc flag
Browse files Browse the repository at this point in the history
  • Loading branch information
poidasmith committed Apr 14, 2013
1 parent 10043c2 commit 5761a51
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions WinRun4J/src/common/INI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@ void INI::ExpandVariables(dictionary* ini)
}
}

#ifndef NO_JAVA
extern "C" __declspec(dllexport) dictionary* __cdecl INI_GetDictionary()
{
return g_ini;
Expand All @@ -405,6 +404,5 @@ extern "C" __declspec(dllexport) const char* __cdecl INI_GetProperty(const char*
{
return iniparser_getstr(g_ini, key);
}
#endif


2 changes: 0 additions & 2 deletions WinRun4J/src/common/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,10 @@ void Log::Close()
}
}

#ifndef NO_JAVA
extern "C" __declspec(dllexport) void Log_LogIt(int level, const char* marker, const char* format, ...)
{
va_list args;
va_start(args, format);
Log::LogIt((LoggingLevel) level, marker, format, args);
va_end(args);
}
#endif
2 changes: 0 additions & 2 deletions WinRun4J/src/launcher/Service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,13 +470,11 @@ void Service::Shutdown(int exitCode)
}
}

#ifndef NO_JAVA
extern "C" __declspec(dllexport) BOOL __cdecl Service_SetStatus(DWORD dwCurrentState, DWORD dwWaitHint)
{
g_serviceStatus.dwCurrentState = dwCurrentState;
g_serviceStatus.dwWaitHint = dwWaitHint;
return SetServiceStatus(g_serviceStatusHandle, &g_serviceStatus);
}
#endif


0 comments on commit 5761a51

Please sign in to comment.