From 2bd47d3cda52acc0beb688ffb4a8202412de5c09 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 9 Jul 2003 19:05:13 +0000 Subject: Get rid of the #ifdef ENABLE_THREADS since we no longer plan to 2003-07-09 Jeffrey Stedfast * camel-block-file.c: Get rid of the #ifdef ENABLE_THREADS since we no longer plan to support/maintain this. * camel.c: Same. * camel-certdb.c: Here too. * camel-charset-map.c: And here. * camel-cipher-context.c: " * camel-data-wrapper.c: " * camel-digest-folder.c: " * camel-exception.c: " * camel-folder.c: " * camel-folder-summary.c: " * camel-lock-client.c: " * camel-mime-utils.c: " * camel-object.c: " * camel-operation.c: " * camel-partition-table.c: " * camel-sasl-popb4smtp.c: " * camel-service.c: " * camel-session.c: " * camel-store.c: " * camel-store-summary.c: " * camel-text-index.c: " * camel-transport.c: " * camel-vee-folder.c: " * camel-tcp-stream-openssl.c: Removed pthread.h, it isn't needed. svn path=/trunk/; revision=21777 --- camel/camel-sasl-popb4smtp.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'camel/camel-sasl-popb4smtp.c') diff --git a/camel/camel-sasl-popb4smtp.c b/camel/camel-sasl-popb4smtp.c index 1bc91e1402..329151872e 100644 --- a/camel/camel-sasl-popb4smtp.c +++ b/camel/camel-sasl-popb4smtp.c @@ -2,7 +2,7 @@ /* * Authors: Michael Zucchi * - * Copyright 2001 Ximian, Inc. (www.ximian.com) + * Copyright 2001-2003 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public @@ -24,8 +24,10 @@ #include #endif +#include #include #include + #include "camel-sasl-popb4smtp.h" #include "camel-service.h" #include "camel-session.h" @@ -45,15 +47,9 @@ static GHashTable *poplast; /* use 1 hour as our pop timeout */ #define POPB4SMTP_TIMEOUT (60*60) -#ifdef ENABLE_THREADS -#include static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; #define POPB4SMTP_LOCK(l) pthread_mutex_lock(&l) #define POPB4SMTP_UNLOCK(l) pthread_mutex_unlock(&l) -#else -#define POPB4SMTP_LOCK(l) -#define POPB4SMTP_UNLOCK(l) -#endif static CamelSaslClass *parent_class = NULL; -- cgit