# PROP Intermediate_Dir "Debug\liblutil"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /Z7 /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# End Source File
# Begin Source File
-SOURCE=.\memcmp.c
-# End Source File
-# Begin Source File
-
SOURCE=.\passwd.c
# End Source File
# Begin Source File
# End Source File
# Begin Source File
-SOURCE=.\setproctitle.c
-# End Source File
-# Begin Source File
-
SOURCE=.\sha1.c
# End Source File
-# Begin Source File
-
-SOURCE=.\tempnam.c
-# End Source File
# End Target
# End Project
# define LOCK_API "flock"
#endif
+#if !defined(USE_LOCKF) && !defined(USE_FCNTL) && !defined(USE_FLOCK)
+int lutil_lockf ( int fd ) {
+ fd = fd;
+ return 0;
+}
+
+int lutil_unlockf ( int fd ) {
+ fd = fd;
+ return 0;
+}
+#endif
+
#ifdef USE_LOCKF
int lutil_lockf ( int fd ) {
/* use F_LOCK instead of F_TLOCK, ie: block */
lutil_SHA1Update(
lutil_SHA1_CTX *context,
const unsigned char *data,
- u_int len
+ uint32 len
)
{
u_int i, j;