aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-29 23:54:10 -0700
committerChris Robinson <[email protected]>2013-10-29 23:54:10 -0700
commit90a51d7897a88c2ca36fe68fdb510af467c015b2 (patch)
tree64e3de3931b37adf639104d31c167ab5bf525213
parentbc9c3de96963dc47df9a5851f3c500e8a6404966 (diff)
Move a macro definition up nearer to where it's used
-rw-r--r--Alc/backends/pulseaudio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index fcb29e16..54265df3 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -306,6 +306,10 @@ static ALCboolean pulse_load(void)
static pa_context_flags_t pulse_ctx_flags;
static pa_proplist *prop_filter;
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
/* PulseAudio Event Callbacks */
static void context_state_callback(pa_context *context, void *pdata)
{
@@ -464,10 +468,6 @@ static DevMap *allCaptureDevNameMap;
static ALuint numCaptureDevNames;
-#ifndef PATH_MAX
-#define PATH_MAX 4096
-#endif
-
typedef struct ALCpulsePlayback {
DERIVE_FROM_TYPE(ALCbackend);