Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:ecmwf/magics into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Feb 7, 2024
2 parents 68e2deb + ce7b7b6 commit 4253ae0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/terralib/kernel/TeUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#include <cstring> //FAMI
#include <iostream>

#if 0
/* The code below is unused and does not always compile */

/* The following includes are needed for pysical memory checking */
#if TePLATFORM == TePLATFORMCODE_MSWINDOWS
#include <windows.h>
Expand All @@ -33,6 +36,7 @@
#error "Unsuported plataform for physical memory checking"
#endif

#endif

string Te2String(const int value) {
char name[TeNAME_LENGTH];
Expand Down Expand Up @@ -430,6 +434,8 @@ string TeCheckName(const string& name, bool& changed, string& invalidChar) {
return newName;
}

#if 0
/* The code below is unused and does not always compile */

unsigned long int TeGetFreePhysicalMemory() {
unsigned long int freemem = 0;
Expand Down Expand Up @@ -553,3 +559,5 @@ bool TeCheckFileExistence(const std::string& filename) {
return true;
}
}

#endif

0 comments on commit 4253ae0

Please sign in to comment.