diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-10-17 01:13:37 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-10-17 01:13:37 -0700 |
commit | 7d959c99d8f036ebfef68393b04bd5da6eb4a395 (patch) | |
tree | 1f63b5aa5650d85e5605bfc25e6066fc32b93e85 /sesman/chansrv/xcommon.h | |
parent | 453a101ab32bd851963866714f5aa2416d0d89ed (diff) | |
download | xrdp-proprietary-7d959c99d8f036ebfef68393b04bd5da6eb4a395.tar.gz xrdp-proprietary-7d959c99d8f036ebfef68393b04bd5da6eb4a395.zip |
chansrv: work on clipboard
Diffstat (limited to 'sesman/chansrv/xcommon.h')
-rw-r--r-- | sesman/chansrv/xcommon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sesman/chansrv/xcommon.h b/sesman/chansrv/xcommon.h index d5aa7e46..57a7d4fa 100644 --- a/sesman/chansrv/xcommon.h +++ b/sesman/chansrv/xcommon.h @@ -22,6 +22,10 @@ #include "arch.h" #include "parse.h" +/* 32 implies long */ +#define FORMAT_TO_BYTES(_format) \ + (_format) == 32 ? sizeof(long) : (_format) / 8 + int APP_CC xcommon_get_local_time(void); int APP_CC |