summaryrefslogtreecommitdiff
path: root/src/account-server/main-account.cpp
diff options
context:
space:
mode:
authorRogier Polak <rogier.l.a.polak@gmail.com>2007-03-11 00:39:29 +0000
committerRogier Polak <rogier.l.a.polak@gmail.com>2007-03-11 00:39:29 +0000
commit0a74cd8c92844e730cf6f56bdc3dd578c65a10d0 (patch)
tree8fc705e7b0b5edd35e82f53c3041a09a16eb09e5 /src/account-server/main-account.cpp
parent8b56248ef58323c6e28264b5317d39c22c59db04 (diff)
downloadmanaserv-0a74cd8c92844e730cf6f56bdc3dd578c65a10d0.tar.gz
manaserv-0a74cd8c92844e730cf6f56bdc3dd578c65a10d0.tar.bz2
manaserv-0a74cd8c92844e730cf6f56bdc3dd578c65a10d0.tar.xz
manaserv-0a74cd8c92844e730cf6f56bdc3dd578c65a10d0.zip
Added a utils::processor namespace and a function to determine if, the processor the program is running on, is little-endian or big-endian.
Diffstat (limited to 'src/account-server/main-account.cpp')
-rw-r--r--src/account-server/main-account.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/account-server/main-account.cpp b/src/account-server/main-account.cpp
index 209e4a24..fd3037b2 100644
--- a/src/account-server/main-account.cpp
+++ b/src/account-server/main-account.cpp
@@ -42,6 +42,7 @@
#include "net/connectionhandler.hpp"
#include "net/messageout.hpp"
#include "utils/logger.h"
+#include "utils/processorutils.hpp"
#include "utils/stringfilter.h"
// Default options that automake should be able to override.
@@ -176,7 +177,10 @@ void initialize()
config.setValue("dbpass", "");
config.setValue("dbhost", "");
- //Seed the random number generator
+ // Initialize the processor utility functions
+ utils::processor::init();
+
+ // Seed the random number generator
std::srand( time(NULL) );
}