win32-compatibility
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1400 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2008-07-28 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/core/main.cpp:
|
||||
win32-compatibility
|
||||
|
||||
* data/projects/cool_songs/StrictProduction-DearJonDoe.mmp:
|
||||
* data/projects/cool_songs/OrtalDj-FirstProyect.mmp:
|
||||
* data/projects/cool_songs/TobyDox-Psycho.mmp:
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "lmmsconfig.h"
|
||||
|
||||
#include <QtCore/QFileInfo>
|
||||
#include <QtCore/QLocale>
|
||||
#include <QtCore/QTimer>
|
||||
@@ -39,6 +41,14 @@
|
||||
#include <sched.h>
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_HAVE_PROCESS_H
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
||||
#include "config_mgr.h"
|
||||
#include "embed.h"
|
||||
#include "engine.h"
|
||||
@@ -309,7 +319,7 @@ int main( int argc, char * * argv )
|
||||
loadTranslation( pos );
|
||||
|
||||
|
||||
srandom( getpid() + time( 0 ) );
|
||||
srand( getpid() + time( 0 ) );
|
||||
|
||||
if( !configManager::inst()->loadConfigFile() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user