From 0a74cd8c92844e730cf6f56bdc3dd578c65a10d0 Mon Sep 17 00:00:00 2001 From: Rogier Polak Date: Sun, 11 Mar 2007 00:39:29 +0000 Subject: Added a utils::processor namespace and a function to determine if, the processor the program is running on, is little-endian or big-endian. --- src/account-server/main-account.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/account-server/main-account.cpp') 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) ); } -- cgit v1.2.3-60-g2f50