Skip to content
Snippets Groups Projects
Commit e4b21c97 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Forward-port SGI Compatibility patches from Jan Schaumann

svn:r3517
parent cd39e4fc
Branches
No related tags found
No related merge requests found
......@@ -774,6 +774,7 @@ void tor_mutex_free(tor_mutex_t *m)
}
#else
struct tor_mutex_t {
int _unused;
};
tor_mutex_t *tor_mutex_new(void) { return NULL; }
void tor_mutex_acquire(tor_mutex_t *m) { }
......
......@@ -53,6 +53,10 @@
#define __FUNCTION__ "???"
#endif
#if defined(__sgi) && !defined(__GNUC__) && defined(__c99)
#define __FUNCTION__ __func__
#endif
/* ===== String compatibility */
#ifdef MS_WINDOWS
/* Windows names string functions differently from most other platforms. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment