View Issue Details

IDProjectCategoryView StatusLast Update
0000139Multi Theft Auto[All Projects] Serverpublic2018-09-30 07:13
ReporterSugarD-xAssigned ToSugarD-x 
PrioritynormalSeveritytweakReproducibilityN/A
Status resolvedResolutionfixed 
Product Version0.6 
Target Version0.6Fixed in Version0.6 
Summary0000139: MTAServer operating system detection needs to be rewritten
DescriptionThe operating system detection for MTAServer needs to be rewritten so the source code properly defines the appropriate operating system being used during the compiling process. This will allow for specific tweaks to the source code that better apply to specific operating systems.
Additional InformationMTAServer already supports both generic win32 and Linux definitions, however they are extremely broad, and the code currently only checks them by defining anything with a GNU Compiler as "Linux", and any other compiler as "win32". This should be redone properly so that specific operating systems can be defined correctly in the code.

For reference: http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system

Currently MTAServer defines the names as MTAS_LINUX and MTAS_WIN32 in its source code. These can be reused, however it may also be beneficial to later force the operating system detection to use proper naming schemes to avoid further conflicts down the road. This would be especially helpful to our open sourcing plans.
TagsNo tags attached.

Relationships

child of 0000136 assignedSugarD-x Support for FreeBSD servers 
child of 0000137 assignedSugarD-x Support for OpenBSD servers 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-09-10 05:29 SugarD-x New Issue
2018-09-10 05:29 SugarD-x Status new => confirmed
2018-09-10 05:30 SugarD-x Description Updated View Revisions
2018-09-10 05:36 SugarD-x Relationship added parent of 0000137
2018-09-10 05:37 SugarD-x Relationship added child of 0000136
2018-09-10 05:37 SugarD-x Relationship deleted parent of 0000137
2018-09-10 05:37 SugarD-x Relationship added child of 0000137
2018-09-30 07:13 SugarD-x Assigned To => SugarD-x
2018-09-30 07:13 SugarD-x Status confirmed => resolved
2018-09-30 07:13 SugarD-x Resolution open => fixed
2018-09-30 07:13 SugarD-x Fixed in Version => 0.6