mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Forward-port SGI Compatibility patches from Jan Schaumann
svn:r3517
This commit is contained in:
parent
cd39e4fc62
commit
e4b21c97f7
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user