forked from memcached/memcached
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://code.sixapart.com/svn/memcached/trunk@13 b0b603af-a30f-0410-a34e-baf09ae79d0b
- Loading branch information
Showing
5 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
all: memcached memcached-debug | ||
all: memcached | ||
|
||
memcached: memcached.c slabs.c items.c memcached.h | ||
gcc-2.95 -I. -L. -static -o memcached memcached.c slabs.c items.c -levent -lJudy | ||
$(CC) -I. -L. -static -o memcached memcached.c slabs.c items.c -levent -lJudy | ||
|
||
memcached-debug: memcached.c slabs.c items.c memcached.h | ||
gcc-2.95 -g -I. -L. -static -o memcached-debug memcached.c slabs.c items.c -levent -lJudy | ||
$(CC) -g -I. -L. -static -o memcached-debug memcached.c slabs.c items.c -levent -lJudy | ||
|
||
clean: | ||
rm memcached memcached-debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* $Id$ */ | ||
|
||
#include <sys/types.h> | ||
#include <sys/stat.h> | ||
#include <sys/time.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
* Authors: | ||
* Anatoly Vorobey <[email protected]> | ||
* Brad Fitzpatrick <[email protected]> | ||
* | ||
* $Id$ | ||
*/ | ||
|
||
#include <sys/types.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* $Id$ */ | ||
|
||
#define DATA_BUFFER_SIZE 2048 | ||
|
||
struct stats { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
/* | ||
* Slabs memory allocation, based on powers-of-2 | ||
* | ||
* $Id$ | ||
*/ | ||
|
||
#include <sys/types.h> | ||
|