-/* $Id: rtl.h,v 1.53 2001/06/22 12:39:48 ekohl Exp $
+/* $Id: rtl.h,v 1.54 2001/06/25 12:31:00 ekohl Exp $
*
*/
#ifndef __DDK_RTL_H
#define __DDK_RTL_H
+#if defined(__NTOSKRNL__) || defined(__NTDRIVER__) || defined(__NTHAL__) || defined(__NTDLL__) || defined (__NTAPP__)
+
#include <stddef.h>
#include <stdarg.h>
+#endif /* __NTOSKRNL__ || __NTDRIVER__ || __NTHAL__ || __NTDLL__ || __NTAPP__ */
+
#include <pe.h>
typedef struct _INITIAL_TEB
/* functions exported from NTOSKRNL.EXE which are considered RTL */
+#if defined(__NTOSKRNL__) || defined(__NTDRIVER__) || defined(__NTHAL__) || defined(__NTDLL__) || defined(__NTAPP__)
+
char *_itoa (int value, char *string, int radix);
int _snprintf(char * buf, size_t cnt, const char *fmt, ...);
int _snwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, ...);
size_t wcstombs (char *mbstr, const wchar_t *wcstr, size_t count);
int wctomb (char *mbchar, wchar_t wchar);
+#endif /* __NTOSKRNL__ || __NTDRIVER__ || __NTHAL__ || __NTDLL__ || __NTAPP__ */
+
#endif /* __DDK_RTL_H */
-/* $Id: lsa.c,v 1.1 2000/08/12 19:33:19 dwelch Exp $
+/* $Id: lsa.c,v 1.2 2001/06/25 12:32:56 ekohl Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
#include <ddk/ntddk.h>
#include <napi/lpc.h>
#include <lsass/lsass.h>
+#include <string.h>
/* GLOBALS *******************************************************************/
-# $Id: makefile,v 1.12 2001/03/25 02:34:30 dwelch Exp $
+# $Id: makefile,v 1.13 2001/06/25 12:32:27 ekohl Exp $
#
# CSRSS: Client/server runtime subsystem
#
TARGET=csrss
-CFLAGS = -I.
+CFLAGS = -D__NTAPP__ -I.
OBJECTS_API = api/process.o api/wapi.o api/conio.o api/handle.o
-# $Id: makefile,v 1.6 2000/11/20 19:59:14 ekohl Exp $
+# $Id: makefile,v 1.7 2001/06/25 12:32:39 ekohl Exp $
#
# Session Manager
#
TARGET=smss
-BASE_CFLAGS = -I../../include
+CFLAGS = -D__NTAPP__
OBJECTS = $(TARGET).o init.o smapi.o $(TARGET).coff